Jason Gustafson created KAFKA-6540:
--------------------------------------

             Summary: Consumer lag metric is not updated when a partition is 
paused
                 Key: KAFKA-6540
                 URL: https://issues.apache.org/jira/browse/KAFKA-6540
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson


When a partition is paused, we no longer include it in fetches, which means we 
do not get updates to the high watermark. Since lag is computed based on the 
high watermark we've received in the most recent fetch, this means that the 
reported lag of a paused partitions will be stuck at whatever value it had when 
the partition was paused. A possible workaround is to continue fetching the 
partition, but set the max requested bytes for that partition to 0.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to