Zookeeper has a znode to describe the hierarchical accessing data such as kafka/node001

znode has the following types.

1
2
3
regular
ephemeral
sequential

ephemeral znode will be removed automatically if zookeeper cannot reach the client. Client can create a znode as regular or sequential with ephemeral true or false.