m1a2st commented on code in PR #23323:
URL: https://github.com/apache/kafka/pull/23323#discussion_r3953600769
##########
tools/src/main/java/org/apache/kafka/tools/EndToEndLatency.java:
##########
@@ -177,7 +176,6 @@ static void validate(KafkaConsumer<byte[], byte[]>
consumer, byte[] sentRecordVa
}
private static void commitAndThrow(KafkaConsumer<byte[], byte[]> consumer,
String message) {
Review Comment:
I think this method can be inlined, since it only throws a
`RuntimeException`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]