查看使用Avro时的Kafka主题消息。

huangapple go评论70阅读模式
英文:

viewing kafka messages on topic when using avro

问题

我已经设置好Kafka,并在使用Avro的主题上生成消息。我目前使用的是Apache Kafka的UI,它已经设置了模式的注册表。一旦我更新了Avro,我可以看到模式已经更新。由于消息格式是二进制的,我无法在UI上查看消息。

有人知道在使用Avro时如何查看在Kafka中发送的消息吗?

谢谢。

英文:

So i have Kafka set up and am produce messages on the topic which use Avro. I currently use Ui for Apache Kafka which has the registry for schema set up. Once i updated the Avro I can see the schema has been updated. Since the message format is binary I am unable to view the message on the UI.

Anyone know how its possible to do view messages being sent in Kafka when using Avro.

Thanks

答案1

得分: 1

不知道您当前正在使用哪种用户界面,我们无法建议如何在该界面上查看 Avro。

您只需使用 不同的工具

或者,使用 kafka-avro-console-consumer

英文:

Without knowing what UI you're currently using, we cannot suggest how to see Avro using that one.

You simply need to use a different tool.

Or, use kafka-avro-console-consumer

huangapple
  • 本文由 发表于 2023年1月9日 18:32:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/75055980.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定