@Override
    public boolean equals(Object o) {
        if (!(o instanceof TopicsImage)) return false;
        TopicsImage other = (TopicsImage) o;
        return topicsById.equals(other.topicsById) &&
            topicsByName.equals(other.topicsByName);
    }
Represents the topics in the metadata image.

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