public void createGroupTombstoneRecords(
        Group group,
        List<CoordinatorRecord> records
    ) {
        group.createGroupTombstoneRecords(records);
    }
Populates the record list passed in with record to update the state machine.

@param group The group to be deleted.
@param records The record list to populate.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java