hachikuji commented on a change in pull request #8741:
URL: https://github.com/apache/kafka/pull/8741#discussion_r436402832



##########
File path: 
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java
##########
@@ -519,7 +519,7 @@ public void onFailure(RuntimeException e) {
         // Note that we override the request timeout using the rebalance 
timeout since that is the
         // maximum time that it may block on the coordinator. We add an extra 
5 seconds for small delays.
 
-        int joinGroupTimeoutMs = Math.max(rebalanceTimeoutMs, 
rebalanceTimeoutMs + 5000);
+        int joinGroupTimeoutMs = rebalanceTimeoutMs + 5000;

Review comment:
       I think the original code was unintentional. We changed it in #8702 to 
the following:
   ```scala
           int joinGroupTimeoutMs = Math.max(client.defaultRequestTimeoutMs(),
               rebalanceConfig.rebalanceTimeoutMs + JOIN_GROUP_TIMEOUT_LAPSE);
   ```




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

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


Reply via email to