I am wondering what is the mechanism that Kafka elects the leader of
partitions ?

Does it handle by the controller process or ?
If the leader crashed, who will decide the new leader ? and the process is
running on Zookeeper or Kafka?

Friendly regards,

*James Wu <http://www.facebook.com/jameswu629>*

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB