KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9084
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-3:9092, LOCALHOST://localhost:9084
+ KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-4:9092, LOCALHOST://localhost:9084
KAFKA_BROKER_ID: 4
ALLOW_PLAINTEXT_LISTENER: 'yes'
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9085
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-3:9092, LOCALHOST://localhost:9085
+ KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-5:9092, LOCALHOST://localhost:9085
KAFKA_BROKER_ID: 5
ALLOW_PLAINTEXT_LISTENER: 'yes'
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER