mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
完善get命令用例信息
get命令要加-s配置才能看到节点状态,在get命令的用例里加上"[zk: zookeeper(CONNECTED) 12] get -s /node1",阅读起来更易理解
This commit is contained in:
parent
4f4826db67
commit
96ad45a808
@ -70,6 +70,7 @@ Created /node1/node1.1
|
||||
`get` 命令可以获取指定节点的数据内容和节点的状态,可以看出我们通过 `set` 命令已经将节点数据内容改为 "set node1"。
|
||||
|
||||
```shell
|
||||
[zk: zookeeper(CONNECTED) 12] get -s /node1
|
||||
set node1
|
||||
cZxid = 0x47
|
||||
ctime = Sun Jan 20 10:22:59 CST 2019
|
||||
|
Loading…
x
Reference in New Issue
Block a user