public Map<String, Uuid> topicNameToIdView() {
        return new TranslatedValueMapView<>(topicsByName, TopicImage::id);
    }
Expose a view of this TopicsImage as a map from topic names to IDs.

Like TopicsImage itself, this map is immutable.
metadata/src/main/java/org/apache/kafka/image/TopicsImage.java