zookeeper操作

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操作)