Open dagardner-nv opened 1 year ago
Looks like a simpler work-around is to specify the ports
as:
ports:
- "0.0.0.0::9092"
Not sure if this is a known issue or not, feel free to close.
That's correct.
Or you can try an environment variable - https://stackoverflow.com/a/67071065
When I start up a Kafka cluster using
docker-compose up -d --scale kafka=3
I get a port mapping for both IP4 and IP6.Such that running
docker port "$CONTAINER" 9092
returns:This causes
broker-list.sh
to return:This could be a mis-configuration on my side but Kafka is unable to connect to5:20.10.17 the
::
entries, and even if it could these would be duplicates:I was able to work-around the issue by changing
broker-list.sh
:but this change relies on the IP4 port appearing prior to the IP6 port.
Version info: