Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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