public static void main(String[] args) throws Exception {
		CuratorFramework client = CuratorFrameworkFactory.newClient(ZK, new ExponentialBackoffRetry(100, 2));
		client.start();

		for (Entry<String, String> item : data.entrySet()) {
			Stat stat = client.checkExists().forPath(item.getKey());
			if (stat == null) {
				client.create().creatingParentsIfNeeded().forPath(item.getKey(), item.getValue().getBytes());
			}
		}
	}
Change This To Your Zk Address
config-toolkit-demo/src/main/java/com/dangdang/config/service/easyzk/demo/InitialScript.java