philipnee commented on code in PR #14842:
URL: https://github.com/apache/kafka/pull/14842#discussion_r1405778947


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java:
##########
@@ -218,6 +218,10 @@ Optional<NetworkClientDelegate.UnsentRequest> 
maybeCreateAutoCommitRequest() {
             return Optional.empty();
         }
 
+        if (subscriptions.allConsumed().isEmpty()) {

Review Comment:
   For async request, we don't try to create one if there's no progress being 
made



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