Index of /apache/kafka/3.2.0https://mirrors.tuna.tsinghua.edu.cn/apache/kafka/3.2.0/
1、解压软件包kafka_2.13-3.2.0.tgz
tar -zxvf kafka_2.13-3.2.0.tgz
2、切换至解压目录;
cd kafka_2.13-3.2.0/
3、启动zookeeper;
./bin/zookeeper-server-start.sh ./config/zookeeper.properties
4、启动kafka,完成。
./bin/kafka-server-start.sh ./config/server.properties
附:也可在启动时加入进程守护,使其在后台运行。
./bin/zookeeper-server-start.sh -daemon ./config/zookeeper.properties
./bin/kafka-server-start.sh -daemon ./config/server.properties