0%

mac 安装 zookeeper kafka

1、安装JSK

2、安装zookeeper

1
2
3
4
5
6
7
8
brew install zookeeper

// 后台启动
brew services start zookeeper

// 非后台启动
zkServer start

image

3、安装kafka

1
2
3
4
5
6
7
brew install kafka

// 后台启动
brew services start kafka

// 非后台启动
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties

image

------------- 本文结束 感谢您的阅读-------------