leader election rate

2015-04-24 Thread Wesley Chow
Looking at the output from the jmx stats from our Kafka cluster, I see a
more or less constant leader election rate of around 2.5 from our
controller. Is this expected, or does this mean that leaders are shifting
around constantly?

If they are shifting, how should I go about debugging, and what triggers a
leader election?

Thanks,
Wes


Regarding question Kafka metrics. Issue with unclean leader election rate

2014-01-23 Thread Arathi Maddula
This is wrt  question Kafka metrics. Issue with unclean leader election rate 
(http://www.marshut.com/inkitk/kafka-metrics-issue-with-unclean-leader-election-rate.html)

We use Kafka 0.8.0


Kafka metrics. Issue with unclean leader election rate

2014-01-23 Thread Arathi Maddula
Yes we use 0.8.0 release


Re: Kafka metrics. Issue with unclean leader election rate

2014-01-23 Thread Jun Rao
What's the output of list topic on that topic?

Thanks,

Jun


On Thu, Jan 23, 2014 at 10:27 AM, Arathi Maddula
amadd...@boardreader.comwrote:

 Yes we use 0.8.0 release



Re: Kafka metrics. Issue with unclean leader election rate

2014-01-22 Thread Jun Rao
Are you using the 0.8.0 release?

Thanks,

Jun


On Wed, Jan 22, 2014 at 10:11 AM, Arathi Maddula
amadd...@boardreader.comwrote:

  Hi,

 I have a 3 node Kafka cluster. Iam monitoring the JMX metrics of these 3
 nodes. All topics and partitions are distributed across all 3 nodes. But
 node1 is idle while node2 and node3 are actively getting input data. As per
 http://kafka.apache.org/documentation.html#monitoring:



 Unclean leader election rate should be 0 and leader election rates should
 be 0 if everything is fine. But I have non-zero values for both these items
 in Node2 and Node3(PFA screenshot of the metrics). Could these values be
 the reason why node1 is idle? How can I find out what is wrong? Any
 pointers will be helpful.



 Thanks

 Arathi