1. 下载:https://www.apache.org/dyn/closer.cgi?path=/kafka/2.5.0/kafka_2.12-2.5.0.tgz
2. 解压tar -xzvf kafka_2.12-2.5.0.tgz
3. 启动zookeeper ./bin/zookeeper-server-start.sh -daemon config/zookeeper.properties
4. 启动kafkan bin/kafka-server-start.sh -daemon config/server.properties