[
https://issues.apache.org/jira/browse/KAFKA-18458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914402#comment-17914402
]
Jeremy L commented on KAFKA-18458:
----------------------------------
Anyone has bandwidth to work on PR for this? Please let me know whether it's OK
to reassign to me, thanks
> Kafka Docker Image Documentation
> --------------------------------
>
> Key: KAFKA-18458
> URL: https://issues.apache.org/jira/browse/KAFKA-18458
> Project: Kafka
> Issue Type: Bug
> Components: documentation
> Reporter: Devin Michael
> Priority: Minor
>
> I wanted to let you know that when I used the default docker-compose.yml
> configuration found on the Apache Kafka docker image site
> (https://hub.docker.com/r/apache/kafka), I ran into an issue. Basically, I
> was not able to call the broker using the CLI tools for creating topics, etc.
> from outside of the docker container itself. I was able to resolve the issue
> by changing the KAFKA_LISTENERS property:
> Value that did NOT work for me:
> KAFKA_LISTENERS: PLAINTEXT://localhost:9092,CONTROLLER://localhost:9093
> Value that worked for me:
> KAFKA_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
> Once I made that change, I was able to communicate with the broker from
> outside the container. I figured out the change I needed to make based on the
> sample “docker run” command that appears on the same page just above the
> docker-compose.yml approach.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)