@Override
    public void onDeleted(final Collection<MetaDataDO> data) {
        publish(new BatchMetaDataDeletedEvent(data, SessionUtil.visitorName()));
        publisher.publishEvent(new DataChangedEvent(ConfigGroupEnum.META_DATA, DataEventTypeEnum.DELETE, ListUtil.map(data, MetaDataTransfer.INSTANCE::mapToData)));
    }
on data deleted.

@param data data
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/MetaDataEventPublisher.java