ref(kafka): Simpler kafka listener setup (#288)
This commit is contained in:
parent
83f52d1fe5
commit
62c0cb16bf
@ -32,7 +32,7 @@ x-snuba-defaults: &snuba_defaults
|
||||
environment:
|
||||
SNUBA_SETTINGS: docker
|
||||
CLICKHOUSE_HOST: clickhouse
|
||||
DEFAULT_BROKERS: 'kafka:9093'
|
||||
DEFAULT_BROKERS: 'kafka:9092'
|
||||
REDIS_HOST: redis
|
||||
# TODO: Remove these after getsentry/snuba#353
|
||||
UWSGI_MAX_REQUESTS: '10000'
|
||||
@ -76,10 +76,7 @@ services:
|
||||
image: 'confluentinc/cp-kafka:5.1.2'
|
||||
environment:
|
||||
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
|
||||
KAFKA_LISTENERS: 'INTERNAL://0.0.0.0:9093,EXTERNAL://0.0.0.0:9092'
|
||||
KAFKA_ADVERTISED_LISTENERS: 'INTERNAL://kafka:9093,EXTERNAL://kafka:9092'
|
||||
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT'
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
|
||||
KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://kafka:9092'
|
||||
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: '1'
|
||||
KAFKA_LOG4J_LOGGERS: 'kafka.cluster=WARN,kafka.controller=WARN,kafka.coordinator=WARN,kafka.log=WARN,kafka.server=WARN,kafka.zookeeper=WARN,state.change.logger=WARN'
|
||||
KAFKA_LOG4J_ROOT_LOGLEVEL: 'ERROR'
|
||||
|
Reference in New Issue
Block a user