frankvicky commented on code in PR #18737:
URL: https://github.com/apache/kafka/pull/18737#discussion_r1962729391


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerMembershipManager.java:
##########
@@ -123,8 +123,7 @@ public class ConsumerMembershipManager extends 
AbstractMembershipManager<Consume
     private final Optional<String> serverAssignor;
 
     /**
-     * Manager to perform commit requests needed before revoking partitions 
(if auto-commit is
-     * enabled)
+     * Manager to perform commit requests needed before rebalance (if 
auto-commit is enabled)

Review Comment:
   Hi @junrao
   IMHO, this javadoc actually describes the purpose of `commitRequestManager` 
in this specific class, where it's only used for auto-commit before rebalance. 
   While you're correct that `commitRequestManager` handles user commit calls 
too, that functionality isn't used here. 
   Does it make sense?
   



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