kafka avro console consumer+“引导服务器”不是可识别的选项

new9mtju  于 2021-07-15  发布在  Kafka
关注(0)|答案(0)|浏览(276)

我遵循这个链接并尝试执行以下命令。但他们都失败了,错误如下。

./bin/kafka-avro-console-consumer --from-beginning --topic test-topic \
  --broker-list test-broker1:9092,test-broker2:9092 \
  --property print.key=true \
  --property schema.registry.url=http://test-schemaregistry
Error: 'broker-list' is not a recognized option

./bin/kafka-avro-console-consumer --from-beginning --topic test-topic \
  --bootstrap-server test-broker1:9092,test-broker2:9092 \
  --property print.key=true \
  --property schema.registry.url=http://test-schemaregistry
Error: 'bootstrap-server' is not a recognized option

我们没有为qa代理配置zookeeper。
任何帮助或建议请。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题