You can find them in https://kafka.apache.org/documentation/#monitoring

I think this is the one you are looking for:

Lag in messages per follower replica
kafka.server:type=FetcherLagMetrics,name=ConsumerLag,clientId=([-.\w]+),topic=([-.\w]+),partition=([0-9]+)
lag
should be proportional to the maximum batch size of a produce request.

On Mon, Feb 20, 2017 at 5:43 PM, Jun Ma <mj.saber1...@gmail.com> wrote:

> Hi Guozhang,
>
> Thanks for your replay. Could you tell me which one indicates the lag
> between follower and leader for a specific partition?
>
> Thanks,
> Jun
>
> On Mon, Feb 20, 2017 at 4:57 PM, Guozhang Wang <wangg...@gmail.com> wrote:
>
> > I don't think the metrics have been changed in 0.9.0.1, in fact even in
> > 0.10.x they are still the same as stated in:
> >
> > https://kafka.apache.org/documentation/#monitoring
> >
> > The mechanism for determine which followers have been dropped out of ISR
> > has changed, but the metrics are not.
> >
> >
> > Guozhang
> >
> >
> > On Sun, Feb 19, 2017 at 7:56 PM, Jun MA <mj.saber1...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I’m looking for the JMX metrics to represent replica lag time for
> > 0.9.0.1.
> > > Base on the documentation, I can only find kafka.server:type=
> > > ReplicaFetcherManager,name=MaxLag,clientId=Replica, which is max lag
> in
> > > messages btw follower and leader replicas. But since in 0.9.0.1 lag in
> > > messages is deprecated and replaced with lag time, I’m wondering what
> is
> > > the corresponding metrics for this?
> > >
> > > Thanks,
> > > Jun
> >
> >
> >
> >
> > --
> > -- Guozhang
> >
>



-- 
-- Guozhang

Reply via email to