Skip to content

Commit 09b6236

Browse files
Add issue platform infra (#2309)
* enable issue platform
1 parent bfdbcb2 commit 09b6236

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ services:
275275
snuba-replays-consumer:
276276
<<: *snuba_defaults
277277
command: consumer --storage replays --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
278+
snuba-issue-occurrence-consumer:
279+
<<: *snuba_defaults
280+
command: consumer --storage search_issues --consumer-group generic_events_group --auto-offset-reset=latest --max-batch-time-ms 750 --no-strict-offset-reset
278281
snuba-replacer:
279282
<<: *snuba_defaults
280283
command: replacer --storage errors --auto-offset-reset=latest --no-strict-offset-reset
@@ -345,6 +348,9 @@ services:
345348
ingest-replay-recordings:
346349
<<: *sentry_defaults
347350
command: run consumer ingest-replay-recordings --consumer-group ingest-replay-recordings
351+
ingest-occurrences:
352+
<<: *sentry_defaults
353+
command: run consumer ingest-occurrences --consumer-group ingest-occurrences
348354
ingest-profiles:
349355
<<: *sentry_defaults
350356
command: run consumer --no-strict-offset-reset ingest-profiles --consumer-group ingest-profiles
@@ -354,6 +360,9 @@ services:
354360
post-process-forwarder-transactions:
355361
<<: *sentry_defaults
356362
command: run consumer post-process-forwarder-transactions --consumer-group post-process-forwarder --synchronize-commit-log-topic=snuba-transactions-commit-log --synchronize-commit-group transactions_group
363+
post-process-forwarder-issue-platform:
364+
<<: *sentry_defaults
365+
command: run consumer post-process-forwarder-issue-platform --consumer-group post-process-forwarder --synchronize-commit-log-topic=snuba-generic-events-commit-log --synchronize-commit-group generic_events_group
357366
subscription-consumer-events:
358367
<<: *sentry_defaults
359368
command: run consumer events-subscription-results --consumer-group query-subscription-consumer

install/create-kafka-topics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ echo "${_group}Creating additional Kafka topics ..."
33
# NOTE: This step relies on `kafka` being available from the previous `snuba-api bootstrap` step
44
# XXX(BYK): We cannot use auto.create.topics as Confluence and Apache hates it now (and makes it very hard to enable)
55
EXISTING_KAFKA_TOPICS=$($dcr -T kafka kafka-topics --list --bootstrap-server kafka:9092 2>/dev/null)
6-
NEEDED_KAFKA_TOPICS="ingest-attachments ingest-transactions ingest-events ingest-replay-recordings profiles"
6+
NEEDED_KAFKA_TOPICS="ingest-attachments ingest-transactions ingest-events ingest-replay-recordings profiles ingest-occurrences"
77
for topic in $NEEDED_KAFKA_TOPICS; do
88
if ! echo "$EXISTING_KAFKA_TOPICS" | grep -qE "(^| )$topic( |$)"; then
99
$dcr kafka kafka-topics --create --topic $topic --bootstrap-server kafka:9092

sentry/sentry.conf.example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def get_internal_network():
269269
"organizations:performance-view",
270270
"organizations:advanced-search",
271271
"organizations:session-replay",
272+
"organizations:issue-platform",
272273
"organizations:profiling",
273274
"projects:custom-inbound-filters",
274275
"projects:data-forwarding",

0 commit comments

Comments
 (0)