chia7712 commented on code in PR #23353:
URL: https://github.com/apache/kafka/pull/23353#discussion_r4459676692


##########
tools/src/main/java/org/apache/kafka/tools/ConsumerPerformance.java:
##########
@@ -128,19 +119,19 @@ private static void consume(Consumer<byte[], byte[]> 
consumer,
                                 AtomicLong totalRecordsRead,

Review Comment:
   Those atomic variables could be replaced by a single record, and consume can 
return it instead of mutating the arguments.
   
   This can be a follow-up.



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

Reply via email to