You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue a place for discussion about how to (conceptually) cancel a pending timeout message. This is, by design, currently not an explicit feature. Instead, a timeout is canceled implicitly when the process that created it is ended.
The reasoning behind this decision is nuanced. The main influencing factors are:
The asynchronous/non-deterministic nature of message-based applications
The desire to encode domain logic using business language, as opposed to technical language, as much as possible
A desire to avoid "double handling" of timeout cancellation logic
I think we should have a verbal discussion about this, from which I will take some notes to include here and in an ADR. We can use our somewhat typical example of an invoicing system that using a timeout message to mark invoices as overdue.
A question was raised in Slack about the progress of this issue, but the use case was solved by checking against the process' internal state. We will not make any related changes to Dogma at this time.
jmalloc
added
needs adr
The changes discussed require an ADR
undecided
Further discussion is required to how (or whether) to proceed
and removed
adr
Discussion about a proposed ADR
labels
Aug 7, 2024
This issue a place for discussion about how to (conceptually) cancel a pending timeout message. This is, by design, currently not an explicit feature. Instead, a timeout is canceled implicitly when the process that created it is ended.
The reasoning behind this decision is nuanced. The main influencing factors are:
I think we should have a verbal discussion about this, from which I will take some notes to include here and in an ADR. We can use our somewhat typical example of an invoicing system that using a timeout message to mark invoices as overdue.
/cc @koden-km
The text was updated successfully, but these errors were encountered: