diff --git a/src/sentry/consumers/__init__.py b/src/sentry/consumers/__init__.py index 1f4788fe70b247..a0d72d4b8760a9 100644 --- a/src/sentry/consumers/__init__.py +++ b/src/sentry/consumers/__init__.py @@ -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(), },