kafka安装-mac

1.kafka安装(brew)

brew install kafka
安装会依赖zookeeper。 
注意:安装目录:/usr/local/Cellar/kafka/0.10.2.0

2.安装位置

/usr/local/etc/kafka/server.properties
/usr/local/etc/kafka/zookeeper.properties

3.启动

(1)zk启动

zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties &

(2)kafka启动

kafka-server-start /usr/local/etc/kafka/server.properties &

 

 

mac版本kafka安装:https://www.jianshu.com/p/1f6387d18989

 

posted @ 2019-07-02 18:24  诸葛子房  阅读(1061)  评论(0编辑  收藏  举报