ahuang98 commented on PR #17139: URL: https://github.com/apache/kafka/pull/17139#issuecomment-2590949691
Hm, okay your edge case only happens on the call to measure after the _first_ call to record. All following measurements shouldn't have this issue of 'leaking' poll time (because `lastRecordedTimestampMs` will not be -1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org