class NacosRepository implements ConfigurationRepository {

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

}