Apache Kafka: bootstrap-server is not a recognized option
我执行的语句bin/kafka-console-producer.sh --bootstrap-server 10.0.0.11:9092 --topic test
但是报错了原因是版本不支持
It's not until Kafka 2.5.0, console producer accepts --bootstrap-server,
before this version, use --broker-list
在2.5.0版本之前只支持 --broker-list
在2.5.0版本之后支持 --bo
原创
2020-05-20 07:23:52 ·
8982 阅读 ·
1 评论