What is zookeeper's notification mechanism?

Alibaba cloud Q & A 2022-02-13 06:12:52 阅读数:438

zookeeper notification mechanism

Zookeeper What is the notification mechanism ?

Take the answer 1:

client End to end znode Build a watcher event , When it's time to znode When something changes , these client Will receive zk The notice of , then client According to znode Change to make business changes, etc .

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130612507773.html