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

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