Linux下单节点kafka的安装
官网下载地址
http://kafka.apache.org/downloads
1.查看Linux防火墙
firewall-cmd --state
2.解压kafka到想要安装的Linux目录下
tar zxvf kafka_2.11-2.3.0.tgz /opt/kafka
3.启动Zookeeper和kafka
启动zookeeper
1
cd /opt/kafka
2
3 ./bin/zookeeper-server-start.sh -daemon
../config/zookeeper.properties
4
5 jps
启动kafka
1
cd /opt/kafka
2
3 ./bin/kafka-server-start.sh -daemon
../config/server.properties
4
5 jps