Skip to content

Commit

Permalink
ref: Move topics to new-style of Kafka topic definition (#66271)
Browse files Browse the repository at this point in the history
Just moving 3 consumers as a first step, will migrate the rest as a
follow up
  • Loading branch information
lynnagara committed Mar 4, 2024
1 parent 495179a commit 835cd65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sentry/consumers/__init__.py
Expand Up @@ -196,16 +196,16 @@ def ingest_events_options() -> list[click.Option]:
# string. We support both currently for backward compatibility.
KAFKA_CONSUMERS: Mapping[str, ConsumerDefinition] = {
"ingest-profiles": {
"topic": settings.KAFKA_PROFILES,
"topic": Topic.PROFILES,
"strategy_factory": "sentry.profiles.consumers.process.factory.ProcessProfileStrategyFactory",
},
"ingest-replay-recordings": {
"topic": settings.KAFKA_INGEST_REPLAYS_RECORDINGS,
"topic": Topic.INGEST_REPLAYS_RECORDINGS,
"strategy_factory": "sentry.replays.consumers.recording.ProcessReplayRecordingStrategyFactory",
"click_options": ingest_replay_recordings_options(),
},
"ingest-replay-recordings-buffered": {
"topic": settings.KAFKA_INGEST_REPLAYS_RECORDINGS,
"topic": Topic.INGEST_REPLAYS_RECORDINGS,
"strategy_factory": "sentry.replays.consumers.recording_buffered.RecordingBufferedStrategyFactory",
"click_options": ingest_replay_recordings_buffered_options(),
},
Expand Down

0 comments on commit 835cd65

Please sign in to comment.