vvcephei commented on a change in pull request #9840: URL: https://github.com/apache/kafka/pull/9840#discussion_r562192140
########## File path: streams/src/test/java/org/apache/kafka/streams/processor/internals/PartitionGroupTest.java ########## @@ -73,28 +82,22 @@ private final byte[] recordKey = intSerializer.serialize(null, 1); private final Metrics metrics = new Metrics(); + private final Sensor enforcedProcessingSensor = metrics.sensor(UUID.randomUUID().toString()); private final MetricName lastLatenessValue = new MetricName("record-lateness-last-value", "", "", mkMap()); - private PartitionGroup group; private static Sensor getValueSensor(final Metrics metrics, final MetricName metricName) { final Sensor lastRecordedValue = metrics.sensor(metricName.name()); lastRecordedValue.add(metricName, new Value()); return lastRecordedValue; } - @Before Review comment: Thanks! ---------------------------------------------------------------- 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