-
Notifications
You must be signed in to change notification settings - Fork 217
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
How to submit message offset asynchronously based on kafka protocol #846
Comments
@yanmxa is this still an issue/open question? |
Another popular one is https://github.com/twmb/franz-go. @duglin how are we thinking about different implementations of open protocols, such as Kafka? It might be a bit of maintenance headache on the long-term to support multiple implementations of the same transport API. But I can understand the reasons as outlined by @yanmxa. Do we want to just provide one "reference" implementation, add multiple, or switch? |
Resolved by this PR: #988 |
There is a scenario base on Kafka protocol binding and I'm not sure how to use the sdk to achieve it:
When the cloudevent client receives an event, it returns the
NACK
response to tell Kafka not to commit the message offset. And also forwards the event to the backend program, when the backend program has completely consumed the event, then submits the offset of the message partition.If I can't use cloudevents client to submit message offset directly, how can I get the message partition and offset from the cloud event? so that the other progress can use the kafka client to submit this offset once the message is consumed successfully.
The text was updated successfully, but these errors were encountered: