GitHub user huxihx opened a pull request: https://github.com/apache/kafka/pull/4191
KAFKA-6184: report a metric of the lag between the consumer offset ... Add `records-lead` and partition-level `{topic}-{partition}.records-lead-min|avg` for fetcher metrics. @junrao Please kindly review. Thanks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/huxihx/kafka KAFKA-6184 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4191.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4191 ---- commit c51f4221905e7601526c320922ab7d9e2061a4e4 Author: huxihx <huxi...@hotmail.com> Date: 2017-11-08T08:21:17Z KAFKA-6184: report a metric of the lag between the consumer offset and the start offset of the log Add `records-lead` and partition-level `{topic}-{partition}.records-lead-min|avg` for fetcher metrics. ---- ---