Is there a way to produce Kafka messages with headers using Kafka Confluent REST API?

前端 未结 1 647
终归单人心
终归单人心 2021-01-14 22:11

I\'m trying to send messages to Kafka with some custom headers, but I could\'t find a way to do it. According to the documatation, The POST /topics/(string: topic_name

1条回答
  •  被撕碎了的回忆
    2021-01-14 22:44

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

    0 讨论(0)
提交回复
热议问题