zookeeper sample codes