1.启动Zookeeper bin/zookeeper-server-start.sh -daemon config/zookeeper.properties 2.启动Kafka 服务 bin/kafka-server-start .sh config/server .properties