1.

Explain What Is Zookeeper In Kafka? Can We Use Kafka Without Zookeeper?

Answer»

ZOOKEEPER is an open source, high-performance co-ordination SERVICE used for distributed APPLICATIONS adapted by Kafka.

No, it is not POSSIBLE to bye-pass Zookeeper and connect straight to the Kafka broker. Once the Zookeeper is down, it cannot serve client REQUEST.

  • Zookeeper is basically used to communicate between different nodes in a cluster
  • In Kafka, it is used to commit offset, so if node fails in any case it can be retrieved from the previously committed offset
  • Apart from this it also does other activities like leader detection, distributed synchronization, configuration management, identifies when a new node leaves or joins, the cluster, node status in real time, etc.

Zookeeper is an open source, high-performance co-ordination service used for distributed applications adapted by Kafka.

No, it is not possible to bye-pass Zookeeper and connect straight to the Kafka broker. Once the Zookeeper is down, it cannot serve client request.



Discussion

No Comment Found