✅ 操作成功!

Consider using the new consumer by passing [bootstrap

发布时间:2023-06-12 作者:admin 来源:文学

Consider using the new consumer by passing [bootstrap

Consider using the new consumer by passing [bootstrap

不出意外是版本问题,而且这个不会影响运行,只是个官方建议

你目前的命令应该是这样

./bin/kafka-console-consumer.sh --zookeeper zk地址:2181 --topic topicname

把–zookeeper zk地址:2181换成–bootstrap-server kafka地址:9092

./bin/kafka-console-consumer.sh --bootstrap-server kafka地址:9092 --topic topicname

ok我话说完

👁️ 阅读量:0