public TopicsImage including(TopicImage topic) {
        return new TopicsImage(
            this.topicsById.updated(topic.id(), topic),
            this.topicsByName.updated(topic.name(), topic));
    }
Represents the topics in the metadata image.

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