ivanyu commented on code in PR #13277: URL: https://github.com/apache/kafka/pull/13277#discussion_r1620593527
########## clients/src/main/java/org/apache/kafka/clients/admin/internals/AdminMetadataManager.java: ########## @@ -287,4 +293,12 @@ public void update(Cluster cluster, long now) { this.cluster = cluster; } } + + /** + * Rebootstrap metadata with the cluster previously used for bootstrapping. + */ + public void rebootstrap(long now) { + log.info("Rebootstrapping with {}", this.bootstrapCluster); + update(bootstrapCluster, now); Review Comment: It uses the same `ClientUtils.parseAndValidateAddresses` function inside, so the same logic applies. -- 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