kafa在windoes环境搭建好后,创建消费者kafka-console-consumer.bat --zookeeper localhost:9092 --topic test,
报consumer zookeeper is not a recognized option错;
kafka的版本:kafka_2.12-2.8.1
原因:需要使用kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic test --from-beginning