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> 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
>



-- 


*Sreejith.S*
https://github.com/srijiths/
http://srijiths.wordpress.com/
tweet2sree@twitter <http://tweet2Sree>

Reply via email to