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


##########
clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/consumer/ShareConsumerTest.java:
##########


Review Comment:
   Could we use `consumed.size() >= prodState.count().get()` instead of 
`records.count() == 0`? An empty poll does not mean all records are consumed. 
Each key is unique so we can leverage that property :)



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