public Map<String, Uuid> topicIds() {
        return metadataSnapshot.topicIds();
    }
@return a mapping from topic names to topic IDs for all topics with valid IDs in the cache
clients/src/main/java/org/apache/kafka/clients/Metadata.java