Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Does Kafka Producer need to know Zookeper list ?

avatar

For sending the data to Kafka, Does kafka producer need to know Zookeeper list. My understanding is BrokerList is the only thing which producer needs to know to identify Parition COunt and Partition leader . Or Zookeeper can also provide that information ?

1 ACCEPTED SOLUTION

avatar

kafka producer doesn't need to know about zookeeper cluster. It takes in broker-list as a config option which than used to send topic metadata requests to determine who is the leader of the topic partition

View solution in original post

1 REPLY 1

avatar

kafka producer doesn't need to know about zookeeper cluster. It takes in broker-list as a config option which than used to send topic metadata requests to determine who is the leader of the topic partition