public Map<Uuid, Set<Integer>> assignedPartitions() {
        return assignedPartitions;
    }
@return The set of assigned partitions.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/ModernGroupMember.java