You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2018/02/08 00:39:00 UTC

[jira] [Created] (KAFKA-6540) Consumer lag metric is not updated when a partition is paused

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)