jolshan commented on a change in pull request #10952: URL: https://github.com/apache/kafka/pull/10952#discussion_r670557719
########## File path: clients/src/main/java/org/apache/kafka/clients/MetadataCache.java ########## @@ -69,13 +73,20 @@ private MetadataCache(String clusterId, Set<String> invalidTopics, Set<String> internalTopics, Node controller, + Map<String, Uuid> topicIds, Cluster clusterInstance) { this.clusterId = clusterId; this.nodes = nodes; this.unauthorizedTopics = unauthorizedTopics; this.invalidTopics = invalidTopics; this.internalTopics = internalTopics; this.controller = controller; + this.topicIds = topicIds; + + this.topicNames = new HashMap<>(topicIds.size()); Review comment: sure -- 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