2020-08-14 zookeeper is not a recognized option zookeeper参数不支持 zookeeper is not a recognized option zookeeper参数不支持 原因:– zookeeper is not a recognized option主要原因是 Kafka 版本过高,命令不存在,高版本不再支持此消费命令新的消费命令如下:./bin/kafka-console-consumer.sh --bootstrap-server xxx.xxx.xxx.xxx:9092 --topic wordsendertest --from-beginningkafka报错内容:WARN [Consumer clientId=consumer-1, groupId=console-consumer-950] Connection to node -1 could not be established. Broker may not be available.这是因为你的配置文件中的PLAINTEXT跟你请求的内容不同。举例来说,我在配置文件里配置的listeners=PLAINTEXT://10.127.96.151:9092,但是我想测试的时候请求的是./kafka-console-consumer.sh --bootstrap-server lo... admin 2020-08-14 Kafka,DevOps 15 阅读 0 评论 2020年08月14日 15 阅读 0 评论