Alibaba cloud Q & A 2022-02-13 06:12:44 阅读数:731
Zookeeper Configuration management （ file system 、 A notification mechanism ）, How to achieve ？
The program is distributed on different machines , Put the configuration information of the program in zk Of znode Next , When a configuration changes , That is to say znode When something changes , By changing zk The contents of a directory node in , utilize watcher Notify each client , To change the configuration .
copyright：author[Alibaba cloud Q & A]，Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130612433616.html