-
Notifications
You must be signed in to change notification settings - Fork 115
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
Embedded Kafka doesn't work under certain network conditions #129
Comments
I have a workaround pending a patch!
|
Unfortunately this workaround doesn't work for me - I'm using the massively cargo-culted config which is basically a collection of all stack overflow answers on the topic:
But still get
I've tried putting similar settings in my consumer config but simply get warnings like
Any idea? I'm on OSX El Capitan if that makes a difference. For reference running the kafka quickstart scripts with their default configs works perfectly with the same consumer settings. |
I'm on OSX too, albeit Sierra and it worked for me so who knows... Given it is saying it doesn't recognise the config key, maybe you don't have a sufficiently recent version of Kafka. At the time, I was on 1.0.0 |
In particular if my laptop is not connected to any network, I get LEADER_NOT_AVAILABLE errors that don't go away. I can reproduce this issue by running the test suite with my laptop offline from any network. The issue seems to be https://stackoverflow.com/questions/35788697/leader-not-available-kafka-in-console-producer
I'll provide a proposed patch...
The text was updated successfully, but these errors were encountered: