Resulting context
The primary benefit of this solution is that it eliminates synchronous inter-component communication. A collaborating component performs its command in reaction to an event, emits another event, and its work is done. One or more collaborating components, in turn, perform their command, emit their event, and so one. Any step can fail and retry independently by employing the straightforward Stream Circuit Breaker pattern. A third party can intervene to resolve an issue and resubmit an event without the need to rerun prior steps and without end-user participation. When the system is operating normally, eventual consistency happens in near real time but degrades gracefully when anomalies occur. Combined with the Event Sourcing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access