@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        MemberAssignmentImpl that = (MemberAssignmentImpl) o;
        return partitions.equals(that.partitions);
    }
@return The assigned partitions keyed by topic Ids.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/MemberAssignmentImpl.java