lorcanj commented on code in PR #19199: URL: https://github.com/apache/kafka/pull/19199#discussion_r2004922608
########## clients/src/main/java/org/apache/kafka/clients/MetadataSnapshot.java: ########## @@ -173,12 +173,15 @@ MetadataSnapshot mergeWith(String newClusterId, Map<TopicPartition, PartitionMetadata> newMetadataByPartition = new HashMap<>(addPartitions.size()); - // We want the most recent topic ID. We start with the previous ID stored for retained topics and then - // update with newest information from the MetadataResponse. We always take the latest state, removing existing - // topic IDs if the latest state contains the topic name but not a topic ID. Review Comment: I'll put this back in as it's still applicable when looking at this again. -- 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