Skip to content

Commit 9470241

Browse files
authored
feat(ourlogs): Add kafka topic definition and default cluster (#83837)
This adds the snuba-ourlogs topic to the kafka definitions, which get added to self-hosted when upgrading [here](https://github.com/getsentry/sentry/blob/bdd408284ed1ddfd8b902553b25dd87ddad6608c/src/sentry/runner/commands/upgrade.py\#L81-L83). Blocked by getsentry/getsentry#16220
1 parent e17dca0 commit 9470241

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/sentry/conf/server.py

+1
Original file line numberDiff line numberDiff line change
@@ -2969,6 +2969,7 @@ def custom_parameter_sort(parameter: dict) -> tuple[str, int]:
29692969
"buffered-segments": "default",
29702970
"buffered-segments-dlq": "default",
29712971
"task-worker": "default",
2972+
"snuba-ourlogs": "default",
29722973
}
29732974

29742975

src/sentry/conf/types/kafka_definition.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Topic(Enum):
5858
GROUP_ATTRIBUTES = "group-attributes"
5959
SHARED_RESOURCES_USAGE = "shared-resources-usage"
6060
SNUBA_SPANS = "snuba-spans"
61+
SNUBA_OURLOGS = "snuba-ourlogs"
6162
BUFFERED_SEGMENTS = "buffered-segments"
6263
BUFFERED_SEGMENTS_DLQ = "buffered-segments-dlq"
6364
TASK_WORKER = "task-worker"

0 commit comments

Comments
 (0)