zookeeper demo code