class NacosRepository implements ConfigurationRepository {

    @Override
    public void delete(final String key) {
        try {
            String dataId = pathToKey(key);
            configService.removeConfig(dataId, nacosProperties.getValue(NacosPropertyKey.GROUP));
        } catch (final NacosException ex) {
            log.debug("Nacos remove config exception for: {}", ex.toString());
        }
    }

}