If the consul enable acl, current consul dynamic configuration does not support. So it need to support it.

private void initKVCache() {
            this.kvCache = KVCache.newCache(kvClient, normalizedKey);
            kvCache.addListener(this);
            kvCache.start();
        }
        @Override
        public void notify(Map<String, Value> newValues) {
            
            
            Optional<Value> newValue = newValues.values().stream()
                    .filter(value -> value.getKey().equals(normalizedKey))
                    .findAny();
            newValue.ifPresent(value -> {
                
                Optional<String> decodedValue = newValue.get().getValueAsString();
                decodedValue.ifPresent(v -> listeners.forEach(l -> {
                    ConfigChangedEvent event = new ConfigChangedEvent(normalizedKey, getGroup(), v, ConfigChangeType.MODIFIED);
                    l.process(event);
                }));
            });
        }
        private void addListener(ConfigurationListener listener) {
            this.listeners.add(listener);
        }
        private void removeListener(ConfigurationListener listener) {
            this.listeners.remove(listener);
        }
    }
}