且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有没有办法使用 Kafka Confluent REST API 生成带有标题的 Kafka 消息?

更新时间:2022-04-29 00:14:32

您是对的,REST 代理目前不支持 Kafka 标头.您需要使用 Producer API 用于设置标头.

You are correct, the REST Proxy does not currently support Kafka Headers. You would need to use the Producer API to set the headers.