kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh singh <getas...@gmail.com>
Subject Re: Number of leader partitions per broker
Date Mon, 02 Dec 2019 15:46:56 GMT
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 <manmedia@gmail.com> wrote:

> Rodoljub,
>
> On Mon, 2 Dec 2019 at 14:52, Rodoljub Radivojevic <
> rodoljub.radivojevic@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message