showuon commented on a change in pull request #11627:
URL: https://github.com/apache/kafka/pull/11627#discussion_r777393490



##########
File path: 
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java
##########
@@ -372,7 +371,7 @@ private void updateReconnectBackoff(NodeConnectionState 
nodeState) {
     /**
      * Increment the failure counter and update the node connection setup 
timeout exponentially.
      * The delay is socket.connection.setup.timeout.ms * 2**(failures) * (+/- 
20% random jitter)
-     * Up to a (pre-jitter) maximum of reconnect.backoff.max.ms
+     * Up to a (pre-jitter) maximum of socket.connection.setup.timeout.max.ms

Review comment:
       side fix: the java doc is talking about 
`socket.connection.setup.timeout.ms`, not `reconnect.backoff.ms`. 




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