simplesourcing / simplesource

Simple Sourcing is an API for building event sourcing systems
Apache License 2.0
61 stars 8 forks source link

Idempotency Support #14

Closed szoio closed 5 years ago

szoio commented 5 years ago

Sagas ideally require command processors to be idempotent. For example a command may process correctly, but the response may not reach the saga action processor. In this case it may retry the command after a certain timeout. If the command was processed correctly to begin with, it should recognise this and simply re-emit the result to the command response topic. Idempotence should be with respect to the command ID.

szoio commented 5 years ago

Merged in https://github.com/simplesourcing/simplesource/pull/16