spotify / docker-kafka

Kafka (and Zookeeper) in Docker
Apache License 2.0
1.4k stars 643 forks source link

using dynamic port allocation on docker host #79

Open hugebdu opened 6 years ago

hugebdu commented 6 years ago

I'd like to use dynamic port binding (aka docker run -P ...). Is there a way to get this working? I guess the dynamically allocated port must be advertised in zk? Any other things must be done for that?

THanks!