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

[eventbus/kafka] event is not retried after error in saga. #381

Open
hansbogert opened this issue Feb 15, 2022 · 0 comments
Open

[eventbus/kafka] event is not retried after error in saga. #381

hansbogert opened this issue Feb 15, 2022 · 0 comments
Labels
bug drivers Driver implementations

Comments

@hansbogert
Copy link
Contributor

hansbogert commented Feb 15, 2022

Describe the bug
Currently when an error is returned in saga event handling, the event is not retried. Only if the application is restarted the event is retried.

In that case when an event caused an error, and subsequently another event is handled successfully, the previous, unsuccessful event will never be retried, not even after restart.

To Reproduce

  • Create an kafka eventbus
  • Create a saga
  • Let the saga handle an event and return an error
  • Notice, error will be logged
  • Event is never retried

Expected behavior

  • Create an kafka eventbus
  • Create a saga
  • Let the saga handle an event and return an error
  • Notice, error will be logged
  • Event is retried
  • Until event is successful do not proceed to next event.

Further
Currently it seems implementation specific what the semantics of the eventbus are with regards to in-orderness, retrying, lossyness.
The Kafka eventbus seems to be in-order, but lossy.

@maxekman maxekman added bug drivers Driver implementations labels Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug drivers Driver implementations
Development

No branches or pull requests

2 participants