完整报错:zookeeper is not a recognized option
解决方法将--zookeeper换为--bootstrap-server
比如:
./bin/kafka-console-consumer.sh --zookeeper localhost:2181
换为:
./bin/kafka-console-consumer.sh --bootstrap-server localhost:2181问题解析
版本问题

完整报错:zookeeper is not a recognized option
解决方法将--zookeeper换为--bootstrap-server
比如:
./bin/kafka-console-consumer.sh --zookeeper localhost:2181
换为:
./bin/kafka-console-consumer.sh --bootstrap-server localhost:2181问题解析
版本问题