cadonna commented on a change in pull request #9696: URL: https://github.com/apache/kafka/pull/9696#discussion_r538808666
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java ########## @@ -235,11 +235,7 @@ public final Sensor threadLevelSensor(final String threadId, final String key = threadSensorPrefix(threadId); synchronized (threadLevelSensors) { final String fullSensorName = key + SENSOR_NAME_DELIMITER + sensorName; Review comment: I think you can also drag this line into `getSensor()`. Sorry for not noticing it before. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org