From: Kai Moritz Date: Wed, 18 Jan 2023 18:37:38 +0000 (+0100) Subject: WIP X-Git-Tag: simple-consumer--kraft-bitnami--single-DEPRECATED~4 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=446dea490d9d7d7aa1f31ac3c69c692f7c5e1aae;p=demos%2Fkafka%2Ftraining WIP --- diff --git a/docker-compose.yml b/docker-compose.yml index ed81c57..e088630 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,13 +5,13 @@ services: environment: KAFKA_ENABLE_KRAFT: 'yes' KAFKA_KRAFT_CLUSTER_ID: r7dMBY60T16TrNCGeXniLw - KAFKA_CFG_PROCESS_ROLES: controller, broker + KAFKA_CFG_PROCESS_ROLES: broker, controller KAFKA_CFG_CONTROLLER_LISTENER_NAMES: CONTROLLER KAFKA_CFG_LISTENERS: BROKER://:9092, 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_CONTROLLER_QUORUM_VOTERS: 0@kafka:9092 + KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: 2@kafka:9092 ALLOW_PLAINTEXT_LISTENER: 'yes' KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 1