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 least 3 brokers and having at least 3 replicas on each topic though - for availability.
On Tue, Jan 10, 2017 at 7:25 PM, Abhishek Agrawal <abhishek.agrawal.1...@gmail.com> wrote: > 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 > #mbean = kafka.server:name=PartitionCount,type=ReplicaManager: > Value = 35; > > > Can someone help me understand if this value is supposed to be 'average > partition count per topic' or 'total partition count for all topics'? > > I want to have separate JMX metric for partition count of each topic. Can > someone point me to configuration examples where this has been achieved? > > Regards, > Abhishek -- Gwen Shapira Product Manager | Confluent 650.450.2760 | @gwenshap Follow us: Twitter | blog