public Map<String, byte[]> groupAssignment() {
        return allMembers().stream().collect(Collectors.toMap(
            ClassicGroupMember::memberId, ClassicGroupMember::assignment
        ));
    }
@return All member assignments keyed by member id.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java