diff --git a/snuba/settings/validation.py b/snuba/settings/validation.py index 49965a2633..3ee6933717 100644 --- a/snuba/settings/validation.py +++ b/snuba/settings/validation.py @@ -76,6 +76,7 @@ def validate_settings(locals: Mapping[str, Any]) -> None: "snuba-dead-letter-group-attributes", "snuba-generic-events-commit-log", "snuba-spans", + "shared-resources-usage", } for key in locals["KAFKA_TOPIC_MAP"].keys(): diff --git a/snuba/utils/streams/topics.py b/snuba/utils/streams/topics.py index 9826941de6..1d7436de96 100644 --- a/snuba/utils/streams/topics.py +++ b/snuba/utils/streams/topics.py @@ -63,6 +63,8 @@ class Topic(Enum): DEAD_LETTER_GROUP_ATTRIBUTES = "snuba-dead-letter-group-attributes" SPANS = "snuba-spans" + COGS_SHARED_RESOURCES_USAGE = "shared-resources-usage" + def get_topic_creation_config(topic: Topic) -> Mapping[str, str]: config = {