From c7161cd4adb9ec109902cc877a3822e842cb9690 Mon Sep 17 00:00:00 2001 From: Julien Flusin <50296610+jul-fls@users.noreply.github.com> Date: Thu, 4 Jul 2024 01:01:27 +0200 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 457dd69..38e8f22 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,8 +26,8 @@ services: ports: - "39092:39092" environment: - KAFKA_LISTENERS: BROKER://kafka1:19092,EXTERNAL://kafka1:39092,LAN://0.0.0.0:39092,CONTROLLER://kafka1:9093 - KAFKA_ADVERTISED_LISTENERS: BROKER://kafka1:19092,EXTERNAL://82.66.231.166:39092,LAN://192.168.1.131:39092 + KAFKA_LISTENERS: BROKER://kafka1:19092,EXTERNAL://kafka1:39092,LAN://0.0.0.0:38092,CONTROLLER://kafka1:9093 + KAFKA_ADVERTISED_LISTENERS: BROKER://kafka1:19092,EXTERNAL://82.66.231.166:39092,LAN://192.168.1.131:38092 KAFKA_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,BROKER:PLAINTEXT,EXTERNAL:PLAINTEXT,LAN:PLAINTEXT @@ -53,8 +53,8 @@ services: ports: - "39093:39093" environment: - KAFKA_LISTENERS: BROKER://kafka2:19093,EXTERNAL://kafka2:39093,CONTROLLER://kafka2:9093,LAN://192.168.1.131:39093 - KAFKA_ADVERTISED_LISTENERS: BROKER://kafka2:19093,EXTERNAL://82.66.231.166:39093,LAN://192.168.1.131:39093 + KAFKA_LISTENERS: BROKER://kafka2:19093,EXTERNAL://kafka2:39093,CONTROLLER://kafka2:9093,LAN://0.0.0.0:38093 + KAFKA_ADVERTISED_LISTENERS: BROKER://kafka2:19093,EXTERNAL://82.66.231.166:39093,LAN://192.168.1.131:38093 KAFKA_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,BROKER:PLAINTEXT,EXTERNAL:PLAINTEXT,LAN:PLAINTEXT @@ -80,8 +80,8 @@ services: ports: - "39094:39094" environment: - KAFKA_LISTENERS: BROKER://kafka3:19094,EXTERNAL://kafka3:39094,CONTROLLER://kafka3:9093,LAN://192.168.1.131:39094 - KAFKA_ADVERTISED_LISTENERS: BROKER://kafka3:19094,EXTERNAL://82.66.231.166:39094,LAN://192.168.1.131:39094 + KAFKA_LISTENERS: BROKER://kafka3:19094,EXTERNAL://kafka3:39094,CONTROLLER://kafka3:9093,LAN://0.0.0.0:38094 + KAFKA_ADVERTISED_LISTENERS: BROKER://kafka3:19094,EXTERNAL://82.66.231.166:39094,LAN://192.168.1.131:38094 KAFKA_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,BROKER:PLAINTEXT,EXTERNAL:PLAINTEXT,LAN:PLAINTEXT