image.png

image.png

image.png

image.png

image.png


备注:ZooKeeper的监视声明一次,监视一次节点的变更,即每次只能触发一次。继续监视的话,需要再次声明监视。