From 62c0cb16bfa33635bd0fd768b386522ccd2a6941 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Wed, 4 Dec 2019 00:53:38 +0300 Subject: [PATCH] ref(kafka): Simpler kafka listener setup (#288) --- docker-compose.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a1a65c4..17c9485 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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'