Hi together,

I found a wrong configuration for the docker-compose.yml example in 
https://hub.docker.com/r/apache/kafka

The configurations

      KAFKA_LISTENERS: PLAINTEXT://localhost:9092,CONTROLLER://localhost:9093
      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092

do not work. I had to remove "localhost" to be able to connect to the broker:

      KAFKA_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093
      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://:9092

I couldn't find the appropriate repository to create a pull request, so I'm 
sending this via email.

Thanks for your great work!

Robert Zilke

Reply via email to