public void createGroupTombstoneRecords(
        String groupId,
        List<CoordinatorRecord> records
    ) {
        // At this point, we have already validated the group id, so we know that the group exists and that no exception will be thrown.
        createGroupTombstoneRecords(group(groupId), records);
    }
Handles a DeleteGroups request.
Populates the record list passed in with record to update the state machine.
Validations are done in {@link GroupCoordinatorShard#deleteGroups(RequestContext, List)} by
calling {@link GroupMetadataManager#validateDeleteGroup(String)}.

@param groupId The id of the group to be deleted. It has been checked in {@link GroupMetadataManager#validateDeleteGroup}.
@param records The record list to populate.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java