ahuang98 commented on PR #17139:
URL: https://github.com/apache/kafka/pull/17139#issuecomment-2590862304

   Hm, I take back at least this portion of my statement
   >  It is actually treated as non-polling time as well?
   
   It looks like measure ignores currentTimestamp, so it will exclude the 
current partial poll time from both the divisor and dividend.
   ```
   double intervalDurationMs = Math.max(lastRecordedTimestampMs - 
intervalStartTimestampMs, 0);
   ```


-- 
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

Reply via email to