Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P767
Command-Line Input
Active
Public
Actions
Authored by
olasd
on Sep 15 2020, 12:52 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 00e502c..be1a07d 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -23,6 +23,7 @@ services:
image: wurstmeister/kafka
ports:
- "5092:9092"
+ - "5094:9094"
env_file: ./env/kafka.env
depends_on:
- zookeeper
diff --git a/docker/env/kafka.env b/docker/env/kafka.env
index e141a70..9a3d307 100644
--- a/docker/env/kafka.env
+++ b/docker/env/kafka.env
@@ -1,8 +1,7 @@
-KAFKA_ADVERTISED_HOST_NAME=kafka
-KAFKA_ADVERTISED_PORT=9092
-KAFKA_PORT=9092
-KAFKA_LISTENERS=PLAINTEXT://:9092
-KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
+KAFKA_LISTENERS=INSIDE://:9092,OUTSIDE://:9094
+KAFKA_ADVERTISED_LISTENERS=INSIDE://kafka:9092,OUTSIDE://noether.olasd.eu:9094
+KAFKA_INTER_BROKER_LISTENER_NAME=INSIDE
+KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
KAFKA_MESSAGE_MAX_BYTES=104857600
KAFKA_JMX_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka -Dcom.sun.management.jmxremote.rmi.port=1099
Event Timeline
olasd
created this paste.
Sep 15 2020, 12:52 PM
2020-09-15 12:52:24 (UTC+2)
Log In to Comment