kafka installation -mac

1.kafka installation (brew)

brew install kafka 
installation will depend zookeeper. 
Note: The installation directory: /usr/local/Cellar/kafka/0.10.2.0

2. The location

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

3. Start

(1) zk start

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

(2) kafka start

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

 

 

mac version kafka installation: https://www.jianshu.com/p/1f6387d18989

 

1.kafka installation (brew)

brew install kafka 
installation will depend zookeeper. 
Note: The installation directory: /usr/local/Cellar/kafka/0.10.2.0

2. The location

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

3. Start

(1) zk start

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

(2) kafka start

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

 

 

mac version kafka installation: https://www.jianshu.com/p/1f6387d18989

 

Guess you like

Origin www.cnblogs.com/zgzf/p/11122362.html