### Question:
ZookeeperConfigLoader implements ConfigLoader<ZookeeperConfig> { @Override public void load(final Supplier<Context> context, final LoaderHandler<ZookeeperConfig> handler) { LoaderHandler<ZookeeperConfig> zookeeperLoad = (c, config) -> zookeeperLoad(c, handler, config); againLoad(context, zookeeperLoad, ZookeeperConfig.class); } ZookeeperConfigLoader();  ZookeeperConfigLoader(final CuratorZookeeperClient client); @Override void passive(final Supplier<Context> context, final PassiveHandler<Config> handler, final Config config); @Override void load(final Supplier<Context> context, final LoaderHandler<ZookeeperConfig> handler);  }### Answer:
@Test @Ignore public void realZookeeperLoad() { ZookeeperConfig remoteConfig = new ZookeeperConfig(); remoteConfig.setServerList("127.0.0.1:2181"); CuratorZookeeperClient client = CuratorZookeeperClient.getInstance(remoteConfig); client.persist("/hmily/xiaoyu", FileUtils.readYAML("hmily-zookeeper.yml")); ConfigScan.scan(); ZookeeperConfigLoader configLoader = new ZookeeperConfigLoader(client); ServerConfigLoader loader = new ServerConfigLoader(); loader.load(ConfigLoader.Context::new, (context, config) -> { System.out.println("config:---->" + config); if (config != null) { if (StringUtils.isNotBlank(config.getConfigMode())) { String configMode = config.getConfigMode(); if (configMode.equals("zookeeper")) { configLoader.load(context, (context1, config1) -> { }); } } } }); }