You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/05/11 05:47:02 UTC

[GitHub] [kafka] chernyih commented on pull request #12131: KAFKA-13879: Reconnect exponential backoff is ineffective in some cases

chernyih commented on PR #12131:
URL: https://github.com/apache/kafka/pull/12131#issuecomment-1123211008

   Retry backoff doesn't help. `KafkaAdminClient` fetches metadata from bootstrap server, let's say with a call timeout of 5s. Within 5s, `NetworkClient` can connect to the bootstrap server multiple times based on reconnect backoff. After 5s, fetch metadata call times out because the bootstrap server node is not ready. Since the last attempt of fetch metadata request is 5 seconds ago (which should be more than retry backoff), `KafkaAdminClient` will retry fetching metadata again.
   
   Another case is if there are clients that use `NetworkClient` and don't implement retry backoff, then retry backoff has no effect.


-- 
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-unsubscribe@kafka.apache.org

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