Is Zookeeper a must for Kafka?

后端 未结 12 1837
遇见更好的自我
遇见更好的自我 2020-12-04 06:58

In Kafka, I would like to use only a single broker, single topic and a single partition having one producer and multiple consumers (each consumer getting its own copy of dat

12条回答
  •  天涯浪人
    2020-12-04 07:03

    Other than the usual payload message transfer, there are many other communications that happens in kafka, like

    • Events related to brokers requesting the cluster membership.
    • Events related to Brokers becoming available.
    • Getting bootstrap config setups.
    • Events related to controller and leader updates.
    • Help status updates like Heartbeat updates.

    Zookeeper itself is a distributed system consisting of multiple nodes in an ensemble. Zookeeper is centralised service for maintaining such metadata.

提交回复
热议问题