AndrewJSchofield commented on code in PR #24115:
URL: https://github.com/apache/kafka/pull/24115#discussion_r4672495425
##########
clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java:
##########
Review Comment:
A slight refinement would be to reset the backoff when the list of pending
calls is empty.
```
// The metadata refresh backoff only grows while calls are
waiting for a node
// assignment. Once no call is waiting, whether the calls
were assigned nodes
// or timed out, the next call to wait starts from the
initial backoff.
if (pendingCalls.isEmpty())
metadataManager.resetEquivalentResponseBackoff();
```
--
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]