Re: Questions about the leader election

2013-08-23 Thread Jun Rao
ZK paths for 0.8 are documented in https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper If a controller fails, any live broker can become the leader. This is coordinated through an ephemeral path in ZK. Thanks, Jun On Fri, Aug 23, 2013 at 3:37 AM, James Wu wrot

Re: Questions about the leader election

2013-08-23 Thread James Wu
Thank you Neha, it's very helpful information! I also read this article http://engineering.linkedin.com/kafka/intra-cluster-replication-apache-kafka For the section "Handling Failures", I am wondering some questions: 1. "The leader and the ISR for each partition are also stored in Zookeeper and a

Re: Questions about the leader election

2013-08-22 Thread Neha Narkhede
The replication state machine and leader election mechanism is described here - http://kafka.apache.org/documentation.html#replication Let us know how the docs can be improved. Thanks, Neha On Thu, Aug 22, 2013 at 8:51 PM, James Wu wrote: > Hi, > > I am wondering what is the mechanism that Ka