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

Kafkacat doesn't work with bootstrap service #110

Closed
neverfox opened this issue Dec 18, 2017 · 2 comments
Closed

Kafkacat doesn't work with bootstrap service #110

neverfox opened this issue Dec 18, 2017 · 2 comments

Comments

@neverfox
Copy link

neverfox commented Dec 18, 2017

kubectl run -it --rm kafkacat --image=solsson/kafkacat --restart=Never -- -C -b kafka-bootstrap:9200 -t mytopic -p 0 -J -e
% KC_ERROR: Failed to query metadata for topic mytopic: Local: Broker transport failure

It works with the full list of service DNS names and the bootstrap service works just fine with Kafka libraries we're using in code (Java client).

@solsson
Copy link
Contributor

solsson commented Dec 18, 2017

Hmm, there was also a negative report about bootstrap.kafka in fluent/fluent-bit-kubernetes-logging#11 (comment).

I don't recognize your port number. And in fact I don't recognize the service name. Where are you running kafkacat? Have you tried with -d broker.

@neverfox
Copy link
Author

Bah, it's the port. Just fat fingered it. As for the service, it's the same one as you have here, just renamed (since I don't use the kafka namespace).

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

2 participants