Commit 6229230e by 仲光辉

style: add docker port mapping about kafka JMX

parent f82d6c8a
......@@ -8,6 +8,7 @@ services:
container_name: kafka01
ports:
- "9092:9092"
- "9999:9999"
environment:
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://192.168.128.3:9092
KAFKA_ADVERTISED_HOST_NAME: 192.168.128.3
......@@ -31,6 +32,7 @@ services:
container_name: kafka02
ports:
- "9093:9092"
- "9988:9988"
environment:
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://192.168.128.3:9093
KAFKA_ADVERTISED_HOST_NAME: 192.168.128.3
......@@ -54,6 +56,7 @@ services:
container_name: kafka03
ports:
- "9094:9092"
- "9977:9977"
environment:
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://192.168.128.3:9094
KAFKA_ADVERTISED_HOST_NAME: 192.168.128.3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment