进入到kafka安装目录的binwindows下,执行命令
kafka-topics.bat --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic guardRecord

进入到kafka安装目录的binwindows下,执行命令
kafka-topics.bat --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic guardRecord