Is zookeeper's watch listening notification to the node permanent?

Alibaba cloud Q & A 2022-02-13 06:04:29 阅读数:563

zookeeper watch listening notification node

Zookeeper For nodes watch Are monitoring notifications permanent ?




Take the answer 1:

No . official declaration : One Watch Event is a one-time trigger , When it's set Watch When the data has changed , The server sends the change to the settings Watch The client of , In order to inform them .


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