@Override
    public void process(DynamicConfigEvent event) {
        ConfigHolder.INSTANCE.resolve(event);
        LoggerFactory.getLogger().info(String.format(Locale.ENGLISH,
                "[DynamicConfig] Received source [%s], and [%s] it", event.getKey(), event.getEventType()));
        LoggerFactory.getLogger().fine(String.format(Locale.ENGLISH,
                "[DynamicConfig] the value of source is %s", event.getContent()));
    }
@Test
    public void test() throws InterruptedException {
        final ConfigListener configListener = new ConfigListener();
        ConfigHolder.INSTANCE.getConfigSources().clear();
        ConfigHolder.INSTANCE.getConfigSources().add(new CseDynamicConfigSource());
        configListener.process(new OrderConfigEvent("id", "group", "test: 1", DynamicConfigEventType.CREATE,
                Collections.singletonMap("test", 1)));
        // Because this is an asynchronous execution, it waits for the asynchronous execution to complete
        Thread.sleep(1000);
        Assert.assertEquals(ConfigHolder.INSTANCE.getConfig("test"), 1);
    }