@Override
    public boolean equals(Object o) {
        if (!(o instanceof ClusterImage)) return false;
        ClusterImage other = (ClusterImage) o;
        return brokers.equals(other.brokers) &&
            controllers.equals(other.controllers);
    }
Represents the cluster in the metadata image.

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