cadonna commented on code in PR #16031:
URL: https://github.com/apache/kafka/pull/16031#discussion_r1625709036


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/MembershipManagerImpl.java:
##########
@@ -960,7 +960,7 @@ void maybeReconcile() {
         // best effort to commit the offsets in the case where the epoch might 
have changed while
         // the current reconciliation is in process. Note this is using the 
rebalance timeout as
         // it is the limit enforced by the broker to complete the 
reconciliation process.
-        commitResult = 
commitRequestManager.maybeAutoCommitSyncBeforeRevocation(getExpirationTimeForTimeout(rebalanceTimeoutMs));
+        commitResult = 
commitRequestManager.maybeAutoCommitSyncBeforeRevocation(getDeadlineMsForTimeout(rebalanceTimeoutMs));

Review Comment:
   My assumption was that the whole reconciliation is limited by the rebalance 
timeout. But here it seems that we only have a timeout on the auto commit sync. 
I would have expected that different parts of the reconciliation would update a 
timer and the commit sync would take the remaining time as the timeout.
   But maybe I missing something.  



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to