guozhangwang commented on code in PR #13300:
URL: https://github.com/apache/kafka/pull/13300#discussion_r1117540370


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java:
##########
@@ -863,45 +864,15 @@ public static void 
addTotalCountAndSumMetricsToSensor(final Sensor sensor,
         );
     }
 
-    public static void maybeMeasureLatency(final Runnable actionToMeasure,

Review Comment:
   Moved these util functions to `AbstractTask` since we need them for both 
standby tasks and active tasks now.



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