Richard recently answered your query. A kafka cluster does not keep track of 
lag on behalf of external consumers and it therefore is not available in JMX. 
This is why tools like Burrow were written. The java kafka consumer published 
consumer lag metrics, and perhaps some other third-party clients do, as well.

> On Aug 16, 2022, at 12:05 PM, Kafka Life <lifekafka...@gmail.com> wrote:
> 
> Hello Experts, Any info or pointers on my query please.
> 
> 
> 
> On Mon, Aug 15, 2022 at 11:36 PM Kafka Life <lifekafka...@gmail.com> wrote:
> 
>> Dear Kafka Experts
>> we need to monitor the consumer lag in kafka clusters 2.5.1 and 2.8.0
>> versions of kafka in Grafana.
>> 
>> 1/ What is the correct path for JMX metrics to evaluate Consumer Lag in
>> kafka cluster.
>> 
>> 2/ I had thought it is FetcherLag  but it looks like it is not as per the
>> link below.
>> 
>> https://www.instaclustr.com/support/documentation/kafka/monitoring-information/fetcher-lag-metrics/#:~:text=Aggregated%20Fetcher%20Consumer%20Lag%20This%20metric%20aggregates%20lag,in%20sync%20with%20partitions%20that%20it%20is%20replicating
>> .
>> 
>> Could one of you experts please guide on which JMX i should use for
>> consumer lag apart from kafka burrow or such intermediate tools
>> 
>> Thanking you in advance
>> 
>> 

Reply via email to