rajinisivaram commented on code in PR #17720:
URL: https://github.com/apache/kafka/pull/17720#discussion_r1835335844
##########
clients/src/main/java/org/apache/kafka/clients/NetworkClient.java:
##########
@@ -1236,6 +1316,12 @@ public void close() {
this.metadata.close();
}
+ private void rebootstrap(long now) {
+ closeAll();
+ metadata.rebootstrap();
+ metadataAttemptStartMs = Optional.of(now);
Review Comment:
It is to handle rebootstrapping again if successful metadata response is not
received after one rebootstrap (the second case you mentioned).
--
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]