kafka.server:name=LeaderCount,type=ReplicaManager   metric provide leader
count on each broker.

$>bean
kafka.server:name=LeaderCount,type=ReplicaManager
$>
$>get Value
#mbean = kafka.server:name=LeaderCount,type=ReplicaManager:
Value = 450;

On Mon, Dec 2, 2019 at 8:55 PM M. Manna <manme...@gmail.com> wrote:

> Rodoljub,
>
> On Mon, 2 Dec 2019 at 14:52, Rodoljub Radivojevic <
> rodoljub.radivoje...@instana.com> wrote:
>
> > Hello,
> >
> > Is it possible to calculate the number of partitions for which one broker
> > is a leader, using existing Kafka metrics?
> >
> > Regards,
> > Rodoljub
> >
>
> Does the below answer your question (or, hints to what you seek)?
>
> https://cwiki.apache.org/confluence/display/KAFKA/Finding+Topic+and+Partition+Leader
>
>
> Thanks,
>


-- 
Thanx & Regard
Ashutosh Singh
08151945559

Reply via email to