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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
