[ https://issues.apache.org/jira/browse/FLINK-16714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068551#comment-17068551 ]
Chesnay Schepler commented on FLINK-16714: ------------------------------------------ A negative value means that the offset was not fetched yet from Kafka yet; any non-negative value would be misleading as they may denote a valid kafka offset. > Kafka committedOffsets value <0 > ------------------------------- > > Key: FLINK-16714 > URL: https://issues.apache.org/jira/browse/FLINK-16714 > Project: Flink > Issue Type: Improvement > Components: Runtime / Metrics > Affects Versions: 1.6.3 > Reporter: pingle wang > Priority: Major > Attachments: image-2020-03-23-15-36-16-487.png, > image-2020-03-23-15-36-27-910.png > > > dear all: > use rest api get kafka offsets sometimes produces errors value like < > 0, so use this value monitoring Kafka's lag size will produce false > positives. This should be the problem of flink metrics collection? > thanks! > !image-2020-03-23-15-36-27-910.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)