zkServer.sh start 启动zookeeper
zkServer.sh status 查看节点状况
./zkCli.sh -server 192.168.200.11:2181
./zkCli.sh -server 192.168.200.11:2181,192.168.200.12:2181,192.168.200.13:2181
ls /brokers/ids
查看kafka节点情况
zkServer.sh start 启动zookeeper
zkServer.sh status 查看节点状况
./zkCli.sh -server 192.168.200.11:2181
./zkCli.sh -server 192.168.200.11:2181,192.168.200.12:2181,192.168.200.13:2181
ls /brokers/ids
查看kafka节点情况
本文标题:zookeeper操作
本文链接:https://www.haomeiwen.com/subject/rhadsxtx.html
网友评论