使用 brew 查看 zookeeper 信息
1 | brew info zookeeper |
得到输出信息

用 Homebrew 来安装 Zookeeper
1 | brew install zookeeper |
查看配置文件
缺省的配置文件在以下目录中
1 | cd /usr/local/etc/zookeeper/ |

修改配置文件 zoo.cfg (可保持默认状态)
1 | tickTime=2000 |
注:个人认为 brew 安装下的 zookeeper 的版本较低,可参考:Linux 下手动安装 Zookeeper
If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !