Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to view messages when using kafdrop as a docker container #25

Closed
sethishi opened this issue Jun 29, 2018 · 0 comments
Closed

Unable to view messages when using kafdrop as a docker container #25

sethishi opened this issue Jun 29, 2018 · 0 comments

Comments

@sethishi
Copy link

It is more of a question rather than an issue.

I am trying to use kafdrop to view messages posted on local kafka container. Running both the containers in a docker network using the below run commands.

docker run -d -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=localhost --env ADVERTISED_PORT=9092 --net kafka-network --name test-kafka ts-kafka:1.0.0

docker run -d -p 9000:9000 -e ZOOKEEPER_CONNECT=test-kafka:2181 --net kafka-network --name kafka-ui kafdrop

I am able to connect kafdrop to zookeeper as I can see the topics but cant view any messages that are available on the topic. Using the kafka-console-consumer.sh I can see the messages.
I ran kafdrop using jar file and it worked fine for me. Not sure what I am missing here.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant