class NacosDynamicConfiguration implements DynamicConfiguration {

    @Override
    public void addListener(String key, String group, ConfigurationListener listener) {
        String resolvedGroup = resolveGroup(group);
        String listenerKey = buildListenerKey(key, group);
        NacosConfigListener nacosConfigListener = watchListenerMap.computeIfAbsent(listenerKey, k -> createTargetListener(key, resolvedGroup));
        nacosConfigListener.addListener(listener);
        try {
            configService.addListener(key, resolvedGroup, nacosConfigListener);
        } catch (NacosException e) {
            logger.error(e.getMessage());
        }
    }

      NacosDynamicConfiguration(URL url);

}