private Group validateOffsetDelete(
        OffsetDeleteRequestData request
    ) throws GroupIdNotFoundException {
        Group group = groupMetadataManager.group(request.groupId());
        group.validateOffsetDelete();
        return group;
    }
Validates an OffsetDelete request.

@param request The actual request.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/OffsetMetadataManager.java