You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Shah, Devang1 " <de...@citi.com> on 2014/10/03 13:21:47 UTC

Re: Kafka consumer - Mbean for max lag

Hi,

Referring to http://kafka.apache.org/documentation.html#java


Number of messages the consumer lags behind the producer by

"kafka.consumer":name="([-.\w]+)-MaxLag",type="ConsumerFetcherManager"



I could not find MBean kafka.consumer when I hooked up jconsole to kafka server. I am using kafka_2.9.2-0.8.1.1 version of Kafka.


Thanks & Regards,
Devang

Re: Kafka consumer - Mbean for max lag

Posted by ravi singh <rr...@gmail.com>.
The MaxLag mbean is only valid for an active consumer. So while the
consumer is actively running, it should be accurate.

On Fri, Oct 3, 2014 at 4:21 AM, Shah, Devang1 <de...@citi.com> wrote:

> Hi,
>
> Referring to http://kafka.apache.org/documentation.html#java
>
>
> Number of messages the consumer lags behind the producer by
>
> "kafka.consumer":name="([-.\w]+)-MaxLag",type="ConsumerFetcherManager"
>
>
>
> I could not find MBean kafka.consumer when I hooked up jconsole to kafka
> server. I am using kafka_2.9.2-0.8.1.1 version of Kafka.
>
>
> Thanks & Regards,
> Devang
>



-- 
*Regards,*
*Ravi*