@Override
    public void createGroupTombstoneRecords(List<CoordinatorRecord> records) {
        records.add(CoordinatorRecordHelpers.newGroupMetadataTombstoneRecord(groupId()));
    }
Populates the list of records with tombstone(s) for deleting the group.

@param records The list of records.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java