I have a Kafka broker running on docker on my local machine which is available on localhost:9092.
Output from docker ps:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
53c9d05ad2ed bitnami/kafka:latest "/opt/bitnami/script…" 20 hours ago Up 30 minutes 0.0.0.0:9092->9092/tcp Kafka
However, when I try to set up kafdrop with the broker with the following command.
Here, why it is trying to connect to 53c9d05ad2ed:9092 whereas I explicitly provided this --kafka.brokerConnect=127.0.0.1:9092 connection endpoint?
Note that, 53c9d05ad2ed is the container ID of my Kafka broker as you can see from the output from the docker ps command given above. Is there any other flag I need to pass in order to resolve this?
I have a Kafka broker running on docker on my local machine which is available on
localhost:9092
.Output from
docker ps
:However, when I try to set up
kafdrop
with the broker with the following command.It gives this error.
Here, why it is trying to connect to
53c9d05ad2ed:9092
whereas I explicitly provided this--kafka.brokerConnect=127.0.0.1:9092
connection endpoint?Note that,
53c9d05ad2ed
is the container ID of my Kafka broker as you can see from the output from thedocker ps
command given above. Is there any other flag I need to pass in order to resolve this?