0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
posthog/ee/kafka_client/topics.py
Karl-Aksel Puulmann 55bf75a40a
Make KAFKA_EVENTS_PLUGIN_INGESTION_TOPIC configurable (#7349)
This is for razorpay - they're planning to hook into this with spark
2021-11-25 11:47:20 +01:00

13 lines
578 B
Python

from posthog.settings import TEST
suffix = "_test" if TEST else ""
KAFKA_EVENTS_PLUGIN_INGESTION: str = f"events_plugin_ingestion{suffix}" # can be overridden in settings.py
KAFKA_EVENTS = f"clickhouse_events_proto{suffix}"
KAFKA_PERSON = f"clickhouse_person{suffix}"
KAFKA_PERSON_UNIQUE_ID = f"clickhouse_person_unique_id{suffix}"
KAFKA_SESSION_RECORDING_EVENTS = f"clickhouse_session_recording_events{suffix}"
KAFKA_PLUGIN_LOG_ENTRIES = f"plugin_log_entries{suffix}"
KAFKA_DEAD_LETTER_QUEUE = f"events_dead_letter_queue{suffix}"
KAFKA_GROUPS = f"clickhouse_groups{suffix}"