Skip to content

Commit 7d680ef

Browse files
authored
Add topic configurations required for EAP alerts (#337)
These topic configurations are identical to other event type subscription topics (and are expected to be so)
1 parent f6e3ede commit 7d680ef

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
/topics/snuba-generic-metrics-counters-commit-log.yaml @getsentry/owners-snuba
6262
/topics/snuba-generic-metrics-gauges-commit-log.yaml @getsentry/owners-snuba
6363
/topics/snuba-generic-events-commit-log.yaml @getsentry/owners-snuba @getsentry/issues
64+
/topics/snuba-eap-spans-commit-log.yaml @getsentry/owners-snuba
6465

6566
# Topics produced to by Snuba and Sentry
6667
/topics/shared-resources-usage.yaml @getsentry/owners-snuba @getsentry/data
@@ -117,6 +118,7 @@
117118
/topics/scheduled-subscriptions-generic-metrics-sets.yaml @getsentry/owners-snuba
118119
/topics/scheduled-subscriptions-generic-metrics-distributions.yaml @getsentry/owners-snuba
119120
/topics/scheduled-subscriptions-generic-metrics-gauges.yaml @getsentry/owners-snuba
121+
/topics/scheduled-subscriptions-eap-spans.yaml @getsentry/owners-snuba @getsentry/performance
120122

121123
# Subscription results published by Snuba for Sentry's result consumer
122124
/topics/events-subscription-results.yaml @getsentry/owners-snuba @getsentry/issues
@@ -125,3 +127,4 @@
125127
/topics/generic-metrics-subscription-results.yaml @getsentry/owners-snuba @getsentry/issues
126128
/schemas/subscription-result.v1.schema.json @getsentry/owners-snuba @getsentry/issues
127129
/examples/subscription-results/ @getsentry/owners-snuba @getsentry/issues
130+
/topics/eap-spans-subscription-results.yaml @getsentry/owners-snuba @getsentry/issues @getsentry/performance
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
description: EAP Spans Subscription Results
2+
services:
3+
producers:
4+
- getsentry/snuba
5+
consumers:
6+
- getsentry/sentry
7+
schemas:
8+
- version: 1
9+
compatibility_mode: none
10+
type: json
11+
resource: subscription-results.v1.schema.json
12+
examples:
13+
- subscription-results/1/
14+
topic_creation_config:
15+
compression.type: lz4
16+
retention.ms: "86400000"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
description: Scheduled subscriptions EAP spans
2+
services:
3+
producers:
4+
- getsentry/snuba
5+
consumers:
6+
- getsentry/snuba
7+
schemas:
8+
- version: 1
9+
compatibility_mode: none
10+
type: json
11+
resource: subscription-scheduled.v1.schema.json
12+
examples:
13+
- subscription-scheduled/1/
14+
topic_creation_config:
15+
compression.type: lz4
16+
retention.ms: "86400000"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
description: Commit log topic for eap spans pipeline
2+
services:
3+
producers:
4+
- getsentry/snuba
5+
consumers:
6+
- getsentry/snuba
7+
schemas:
8+
- version: 1
9+
compatibility_mode: none
10+
type: json
11+
resource: any.json
12+
examples:
13+
- snuba-commit-log/1/
14+
topic_creation_config:
15+
compression.type: lz4
16+
cleanup.policy: compact,delete
17+
min.compaction.lag.ms: "3600000"
18+
retention.ms: "86400000"
19+
segment.bytes: "104857600"
20+
segment.ms: "3600000"
21+
enforced_partition_count: 1 # Commit log topic must always have one partition

0 commit comments

Comments
 (0)