Skip to content
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

Provide mechanism to maintain order of related events during retries. #23

Open
stefan-cardnell-rh opened this issue Oct 7, 2024 · 0 comments

Comments

@stefan-cardnell-rh
Copy link
Contributor

The non-blocking retry functionality does not maintain the order of related events. If an event A is in the retry flow and related event B comes in to the main consumer, this event should also be moved to the retry flow instead of processed.

We need to maintain in a store a list of retrying events based on their IDs.

Sources for implementation:

  1. https://www.confluent.io/blog/error-handling-patterns-in-kafka/#pattern-4
  2. https://medium.com/altitudehq/kafka-retries-and-maintain-order-of-retry-events-313482044351 - see "Maintain order of retry events"
  3. https://www.youtube.com/watch?v=FO2ptQNQKhM&ab_channel=DanielTammadge

(Optional) Add blocking retry functionality as a non-complex way of providing ordered retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant