-
Notifications
You must be signed in to change notification settings - Fork 556
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
Create a workflow instance idempotent #455
Comments
Current assumptions:
|
Background motivation can be best explained by a concrete scenario. In an event-driven system based on e.g. Kafka you receive a message by some app which then does something in a database (business logic, transactional) and afterwards sends an event to Kafka that something has been done. If the app crashes after it consumed the event and did the work but did not issue the message - this will not be recognized and something will not happen. Therefor you have to build own infrastructure to "simulate" transactional behavior. |
This will be implemented for message start events in #1012 |
I'm not sure idempotent message start events quite solves idempotent workflow instances. To elaborate, if I were to create a workflow using Ideally, it'd be nice to have some confidence when creating a workflow, but also some mechanism to ensure an idempotent instance. |
Could you share your use case @MrSaints? It is a quite interesting field - but I love moving discussions to a very concrete level, as many things depend on that context. For example I can easily argue, that a duplicate caused by retries or redeliveries can be safely simply ignored - I don't need a feedback here. But there might be use cases where you indeed want hat feedback, and I would love to learn about yours :-) |
AT:
The text was updated successfully, but these errors were encountered: