单机版安装
kafka-server-start.sh -daemon config/server.properties
./kafka-topics.sh --zookeeper localhost:2181/myKafka --list
./kafka-topics.sh --zookeeper localhost:2181/myKafka --describe --topic spring-boot-kafka
kafka-console-producer.sh --topic topic_1 --broker-list localhost:9092
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topic_1
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topic_1 --from-beginning