zookeeper study notes (1) [original]

  Zookeeper is used in both distributed database and service governance platform projects. Now make up the study notes.
1. The role of zookeeper
   1) Centralized configuration management
      (1) The administrator creates a node node (which can be understood as a file directory), and puts the configuration information in this directory.
      (2) After the application is started, establish a long connection with zookeeper, and use the node of zookeeper watch
     (3) The administrator modifies the configuration information under this node
      (4) After the zookeeper watch changes to the node, push it to the application
   2) Cluster member management
      (to be continued)
      
 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327094639&siteId=291194637