Chris Richardson
Chris Richardson
https://github.com/eventuate-tram/eventuate-tram-sagas/blob/005d3a845c74c3ae6e046c495d43e3158ef50843/eventuate-tram-sagas-testing-support/src/main/java/io/eventuate/tram/sagas/testing/SagaParticipantStubManager.java#L26
Requires: https://github.com/eventuate-tram/eventuate-tram-core/issues/174 Motivation is the concurrent execution of compensating transactions and retriable transactions, which are saga steps that by definition cannot fail.
https://github.com/eventuate-tram/eventuate-tram-sagas/blob/ca896dbf631b0b3385cbd95b83f527e703118421/eventuate-tram-sagas-testing-support/src/main/java/io/eventuate/tram/sagas/testing/SagaUnitTestSupport.java#L176 Due to unconfigured mock() a local action through an exception. This was hidden
These lines are duplicated in non-reactive repository: https://github.com/eventuate-tram/eventuate-tram-sagas/blob/536389b81ed8a40d794ee8e77a620a8a2930f3c6/eventuate-tram-sagas-reactive-orchestration/src/main/java/io/eventuate/tram/sagas/reactive/orchestration/ReactiveSagaInstanceRepositoryJdbc.java#L46-L53 Consider moving into `SagaInstanceRepositorySql` and renaming it to `...Mapper`.
# Current behavor https://github.com/eventuate-tram/eventuate-tram-sagas/blob/17a1a95389413efe11780ed80269c80919c894b1/eventuate-tram-sagas-orchestration-simple-dsl/src/main/java/io/eventuate/tram/sagas/simpledsl/SimpleSagaDefinition.java#L49-L50 This breaks reply message handling. # What about happen: * The saga should transition to a `failed` state. * (Possible) the orchestration should tell the participant's...
Something like: ``` .step() .invokeParticipant(this::reserveCredit) .withTimeout(timeout, this::cancelReserveCredit) ``` The arguments to `withTimeout()` are * timeout - e.g. java.time.Duration * this::cancelReserveCredit - generates the message to send to the customer service...
_Originally posted by @cer in https://github.com/eventuate-tram/eventuate-tram-sagas-examples-customers-and-orders/issues/49#issuecomment-775239506_
From email thread: ``` Is it possible to postpone a participant's response in the orchestrator saga? One of my saga's participants is connecting to an external service. When the participant...
This won't work as intended. The steps will be executed one after the other. But there is no guarantee that the saga will be completed successfully/compensated if any kind of...