• 1. 启动ZK服务:       sh bin/zkServer.sh start
  • 2. 查看ZK服务状态: sh bin/zkServer.sh status
  • 3. 停止ZK服务:       sh bin/zkServer.sh stop
  • 4. 重启ZK服务:       sh bin/zkServer.sh restart

这里面有zookeeper的详细配置说明[https://blog.csdn.net/wobuaizhi/article/details/80950307]

这里面有kafka的详细命令[https://blog.csdn.net/kangkangwanwan/article/details/79376808] 

  值得注意的是这里的配置,当时我配错了,配置成为单机模式mini1:2181,虽然可以正常使用,但并非正确的配置。

  这里写出来提醒自己一定要注意配置参数的含义。

   zookeeper.connect=xx:12181,xx:12181,xx:12181 

这里面有zkCli.sh的详细使用【https://www.cnblogs.com/chengxuyuanzhilu/p/6698059.html

zookeeper的启动可以写脚本全启动。同storm。

storm我基本没有使用过,这里简单记下 它的启动,停止,及使用(后附)。

 

这里kakfa和zookeeper使用较多,原理仍需深入。流式计算常用spark streaming。

posted on 2019-07-17 13:00  star_00  阅读(185)  评论(0编辑  收藏  举报