public void write(ImageWriter writer, ImageWriterOptions options) {
        for (Map.Entry<Uuid, TopicImage> entry : topicsById.entrySet()) {
            entry.getValue().write(writer, options);
        }
    }
Represents the topics in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/TopicsImage.java