-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I send kafka message header #523
Comments
I would really like to see this feature as well. Kafka Headers have existed for over a year now but with no easy way to access them other via code. As a company we have Kafka deployed with Kafka Rest sitting on top. This was used mainly in non-production environments to publish/consume in a quick and easy way for testing. Since starting to use Kafka Headers though, we have no longer been able to do this. Please could somebody take a look at this and let us know whether this is something that is likely to be (or hopefully already is) added to the backlog? |
@ewencp any insight on this if this is planned in the near future? |
@nick-zh I'm not aware of a specific timeline for this feature in REST Proxy, but I'm not currently focused on REST Proxy (and haven't personally been for awhile now). Of course a community contribution would be welcome (we'd probably just want to do a bit of API design work early and up front to avoid too much refactoring/changes -- given multiple headers and the string key/binary value nature of them, we'd want to make sure the API would actually solve user use cases). In terms of Confluent's roadmap, we're aware of this request, but am not sure about exact timeline. Out of curiosity, are your use cases primarily produce, consume, or both? If one is more critical, might reduce the scope to make it easier to get to. |
Dear @ewencp |
@ewencp I would be really interested on this feature. I would personally prefer the producer test case. I don't know if this is the correct way to do it but if it is , do you think it is worth to open a PR or do you plan to add this feature in short term? |
@nick-zh I think that's a good approach! |
any news about this request? |
Hi, |
I didn't pursue it any further, but from the comment of a linked pr it seems this has been implemented for v3 🎉 |
Can I send kafka message header along with data (or actual message).
Similar to sarama producer's ProducerMessage. https://github.com/Shopify/sarama/blob/master/async_producer.go#L166
The text was updated successfully, but these errors were encountered: