[ 
https://issues.apache.org/jira/browse/KAFKA-5855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160964#comment-16160964
 ] 

Mohsen Zainalpour commented on KAFKA-5855:
------------------------------------------

Thanks. Actually It was my misunderstanding. Consumer is able to calculate lags 
on each "fetch" request and in my application it takes more time to consume 
messages and make a new fetch request. Therefore, I was not able to see the 
actual lags.

I am going to resolve the issue

> records-lag is always zero
> --------------------------
>
>                 Key: KAFKA-5855
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5855
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer, metrics
>    Affects Versions: 0.10.1.0, 0.11.0.0
>            Reporter: Mohsen Zainalpour
>            Priority: Minor
>
> I use Prometheus JmxExporter to export Kafka consumer metrics but the value 
> of records-lag is always zero.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to