divijvaidya commented on code in PR #12045:
URL: https://github.com/apache/kafka/pull/12045#discussion_r862909115


##########
clients/src/main/java/org/apache/kafka/common/metrics/stats/SampledStat.java:
##########
@@ -138,6 +170,46 @@ public boolean isComplete(long timeMs, MetricConfig 
config) {
             return timeMs - lastWindowMs >= config.timeWindowMs() || 
eventCount >= config.eventWindow();
         }
 
+        public boolean isActive() {

Review Comment:
   All changes to public API have been reverted. Addressing the core fix does 
not require any changes to the public APIs.



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