This is a great blog post that explains how kafka works with advertised
listeners and docker
https://rmoff.net/2018/08/02/kafka-listeners-explained/
-hans
> On Oct 18, 2019, at 5:36 AM, Mich Talebzadeh
> wrote:
>
> I do not understand this.
>
> You have on a physical host running zookeeper
I do not understand this.
You have on a physical host running zookeeper locally and a broker running
as well. These are using default physical host portslike 2181, 9092 etc.
Then you have installed zookeeper and kaka broker on dockers?
docker run --net=host -d --name zookeeper -p 2181:2181 -p 28
Please check your advertised.listeners and listeners config.
Thanks,
On Thu, 17 Oct 2019 at 22:13, Wang, Shuo wrote:
> Hi,
>
> I have a question regarding connecting to kafka broker from docker.
>
> I have zookeeper and kafka broker running on my local machine.
> I have a docker container runni
Hi,
I have a question regarding connecting to kafka broker from docker.
I have zookeeper and kafka broker running on my local machine.
I have a docker container running on the same local machine with
--network=host
I want to send message from inside the docker container to my local kafka
broker.