Event Driven Architecture the Hard Parts Should It Be Event or a Message

Summary

  • If two services have to be communicated different data payload, then messages are the way to go.
  • Another situation where you want to use Messages is — if you want to control the sequence of execution in a Workflow. For more details on this type of use case, take a look at this blog Event Driven Architecture, The Hard Parts : Events Vs Messages
    • "With Events, because all the consumers react in parallel, controlling the sequence is tough. Messages help to achieve this sequential execution when needed."

Backlinks