fix: optional ssl for kafka and optional tg user fields

This commit is contained in:
2025-04-10 11:19:46 +04:00
parent f083c19cdc
commit b5c8e35910
6 changed files with 16 additions and 20 deletions

View File

@@ -27,6 +27,7 @@ CHATS_SYNC_URL = os.environ.get('CHATS_SYNC_URL')
KAFKA_URL = os.environ.get('KAFKA_URL')
KAFKA_CONSUMER_TOPIC = os.environ.get('KAFKA_CONSUMER_TOPIC')
KAFKA_PRODUCER_TOPIC = os.environ.get('KAFKA_PRODUCER_TOPIC')
KAFKA_ENABLE_SSL = os.environ.get('KAFKA_ENABLE_SSL', 'true').lower() in ('true', '1', 't')
# Celery
CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL')