基于springboot的论坛项目
kafka启动命令:
E:\javaweb\work\kafka_2.12-2.8.0
E:\javaweb\work\kafka_2.12-2.8.0\bin\windows
bin\windows\zookeeper-server-start.bat config\zookeeper.properties bin\windows\kafka-server-start.bat config\server.properties
kafka-topics.bat --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test
kafka-topics.bat --list --bootstrap-server localhost:9092
kafka-console-producer.bat --broker-list localhost:9092 --topic test
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic test --from-beginning
zookeeper-server-stop.bat
kafka-server-stop.bat
#命令备忘
cd D:\develop\kafka_2.12-2.3.0\bin\windows
.\zookeeper-server-start.bat config\zookeeper.properties
.\kafka-server-start.bat config\server.properties
cd D:\develop\elasticsearch-6.4.3\bin
.\elasticsearch.bat