运行环境:
CentOS 7.6
Java 8 https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
Zookeeper 3.5.8 http://mirrors.ustc.edu.cn/apache/zookeeper/zookeeper-3.5.8/apache-zookeeper-3.5.8-bin.tar.gz
kafka 2.4.1 http://mirrors.ustc.edu.cn/apache/kafka/2.4.1/kafka_2.12-2.4.1.tgz
安装JDK
安装和部署zookeeper:
安装和部署 kafka: