leader election in zookeeper and Kafka
<p>a question troubled me a long time. I know the leader election exists in zookeeper. Suppose we have a Kafka cluster connected with Zookeeper ensemble .</p>
<p>So my understanding is like, there is a zookeeper leader in Ensemble, and there are some &quot;partition leaders&quot; in Kafka cluster as well. And Kafka partition leader are elected through  Zookeeper API. Is it right ?</p>
<p>Another question, Is master/worker basically same as leader/follower ?</p>