public void updateConfig(){
		final Random random = new Random();
		Thread t = new Thread(){
			@Override
			public void run() {
				while(true){
					String num = random.nextInt(100)+"";
					System.out.printf("random num is %s\n", num);
					try {
						Thread.sleep(5000);
						zk.setData(nodePath, num.getBytes(), -1);
					} catch (KeeperException e) {
						e.printStackTrace();
					} catch (InterruptedException e) {
						e.printStackTrace();
					}
				}
			}
		};
		
		t.start();
	}