Skip to content

Commit

Permalink
fix Kafka configuration for new KRAFT mode (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alesfatalis authored Apr 23, 2023
1 parent 3f9eb2e commit 018cee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ services:
container_name: kafka
restart: always
environment:
KAFKA_ENABLE_KRAFT: yes
KAFKA_ENABLE_KRAFT: "yes"
KAFKA_CFG_PROCESS_ROLES: "broker,controller"
KAFKA_BROKER_ID: "1"
KAFKA_CFG_CONTROLLER_LISTENER_NAMES: "CONTROLLER"
KAFKA_CFG_LISTENERS: "PLAINTEXT://:9092,CONTROLLER://:9093"
KAFKA_CFG_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
ALLOW_PLAINTEXT_LISTENER: "yes"
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: "1@kafka:9093"
KAFKA_CFG_NODE_ID: "1"
volumes:
- "kafka-data:/bitnami/kafka"
networks:
Expand Down

0 comments on commit 018cee1

Please sign in to comment.