@Override
    public int hashCode() {
        return Objects.hash(assignments);
    }
@return The replica assignment for each partition, where the index in the list corresponds to different partition.
metadata/src/main/java/org/apache/kafka/metadata/placement/TopicAssignment.java