Re: Interpreting value of JMX metric for partition count

2017-01-11 Thread Gwen Shapira
The metric is "partition count per broker". You didn't mention how many brokers and how many replicas you have for each topic, but if you have 1 replica and 2 brokers, then this looks reasonable. Probably 35 partitions on one broker and 33 on the other or something similar. I'd recommend getting at

Re: Interpreting value of JMX metric for partition count

2017-01-11 Thread Sreejith S
Hi Abhishek, Check this if you are looking for a Java implementation. This will give you all Kafka related metrics. https://github.com/srijiths/kafka-connectors/tree/master/kafka-connect-jmx Regards, Srijith On Wed, Jan 11, 2017 at 8:55 AM, Abhishek Agrawal < abhishek.agrawal.1...@gmail.com> wr

Interpreting value of JMX metric for partition count

2017-01-11 Thread Abhishek Agrawal
Hello Kafka Users, My kafka cluster has two topics: one with 50 partitions, another with 18 partitions. The JMX bean *kafka.server:name=PartitionCount,type=ReplicaManager*, gives value as 35 when I try to probe using JMXTerm $>get -b kafka.server:name=PartitionCount,type=ReplicaManager Value