Open haseebnaseem opened 6 years ago
Have you tried using KafkaClient
instead of Client
? KafkaClient does not use zookeeper.
I have tried using that but in that case the client does not detect even when the broker is up after a crash
@haseebnaseem the expectation would be that you would need to handle retrying the send again yourself.
I understand that if the sending failed, there should be a retrying mechanism however that would only happen if the callback is called with an error.
On Mon, 9 Apr 2018, 23:02 Daniel Ennis, notifications@github.com wrote:
@haseebnaseem https://github.com/haseebnaseem the expectation would be that you would need to handle retrying the send again yourself.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SOHU-Co/kafka-node/issues/908#issuecomment-379840819, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ1EQBptj9a-HbzZ-0jSfX7BMMHaDrpFks5tm6I6gaJpZM4S65jD .
@haseebnaseem that was in reference for if you use KafkaClient, you said you aren't using it since it doesn't detect when its up.
Im saying use KC, and keep retrying.
My kafka set up does not work without zookeeper, so once its down kafkaClient does not detect its up ever.
On Tue, 10 Apr 2018, 00:09 Daniel Ennis, notifications@github.com wrote:
@haseebnaseem https://github.com/haseebnaseem that was in reference for if you use KafkaClient, you said you aren't using it since it doesn't detect when its up.
Im saying use KC, and keep retrying.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SOHU-Co/kafka-node/issues/908#issuecomment-379860941, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ1EQMcPm7BrJrEWgZWcZiPgyIvh_uXfks5tm7HRgaJpZM4S65jD .
Questions?
Bug Report
Due to some problem with the cluster, which we are trying to locate, the zookeeperd are throwing the following error
Environment
For specific cases also provide
Include Sample Code to reproduce behavior
Include output with Debug turned on
Thanks for your contribution!