PatrickRen commented on a change in pull request #16838: URL: https://github.com/apache/flink/pull/16838#discussion_r691416554
########## File path: flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/source/reader/KafkaPartitionSplitReaderTest.java ########## @@ -115,6 +128,44 @@ public void testWakeUp() throws Exception { assertNull(error.get()); } + @Test + public void testNumBytesInCounter() throws Exception { + // Create a task metric group for intercepting numBytesOut + final InterceptingTaskMetricGroup taskMetricGroup = new InterceptingTaskMetricGroup(); + final OperatorMetricGroup operatorMetricGroup = + new InternalOperatorMetricGroup( Review comment: Thanks @fapaul for the reminder! I made another detour in 92f938c -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org