0

I have a local test setup for Kafka and Zookeeper.

Here are the details.

OS: Windows

Kafka: 2.0.1 (Single Node Single Broker) According to these Stackoverflow threads, Consumers should go down if the zookeeper or broker goes down.

What happens if Zookeeper fails completely?

Kafka cluster zookeeper failure handling

Even if the Zookeeper is down, Producer(Conduktor) and Consumer(Node js) are Working fine. The consumer is still registered.

What should be the expected behavior of consumers?

  • This answer might help - https://stackoverflow.com/a/52499738/9657108 – arunkvelu Mar 16 '22 at 16:17
  • @arunkvelu , according to this Answer Producer and Consumer both will work fine in case of Zookeeper failure. But Should we rely on this behavior or the behavior of Clients will be unpredictable? As per my latest testing (1 out of 4 times Cousmer was not responding after zookeeper was down for 1 hr ) and other forums, this Behaviour is not consistent. – Abhishek Nagpure Mar 17 '22 at 06:41

0 Answers0