Four types of nodes in zookeeper

There are four types of znode creation types (CreateMode):



PERSISTENT persistent node
   
PERSISTENT_SEQUENTIAL sequential automatic numbering of persistent nodes, this kind of node will automatically add 1 according to the number of existing
   
nodes. EPHEMERA temporary node, such nodes as client session timeout
  
EPHEMERAL_SEQUENTIAL temporary auto-numbered nodes will be automatically deleted

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326217307&siteId=291194637