Centos7下 kafka安裝

Centos7下 kafka安裝

官網

http://kafka.apache.org/downloads

歐盟資源

https://www-eu.apache.org/dist/kafka/2.4.0/kafka_2.13-2.4.0.tgz

美國資源

https://www-us.apache.org/dist/kafka/2.4.0/kafka_2.13-2.4.0.tgz

cd /data && wget https://www-eu.apache.org/dist/kafka/2.4.0/kafka_2.13-2.4.0.tgz
tar -xvf kafka*.tgz  
mv kafka*.tgz installation/
mv kafka* kafka

#啓動zookeeper(可多節點)
cd kafka
bin/zookeeper-server-start.sh -daemon config/zookeeper.properties

#啓動kafka
nohup bin/kafka-server-start.sh -daemon config/server.properties >> logs/server.log  2>&1 &
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章