version: '3.2'
services:
kafka:
- image: bitnami/kafka:3.3.1
+ image: bitnami/kafka:3.4.1
environment:
KAFKA_ENABLE_KRAFT: 'yes'
KAFKA_KRAFT_CLUSTER_ID: r7dMBY60T16TrNCGeXniLw
KAFKA_CFG_LISTENERS: BROKER://:9092, CONTROLLER://:9093, LOCALHOST://:9082
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, CONTROLLER:PLAINTEXT, LOCALHOST:PLAINTEXT
KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka:9092, LOCALHOST://localhost:9082
- KAFKA_BROKER_ID: 2
+ KAFKA_CFG_NODE_ID: 2
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: 2@kafka:9093
ALLOW_PLAINTEXT_LISTENER: 'yes'
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER