← Graph

Reactor

concept 5 connections

Subscriber that reacts to events occurring in the system, sometimes by building state and sometimes by communicating with external systems (treating them as just another persistence repository). Useful for backups (project every event into a redundant store) and for reconciling with external systems. Must be idempotent.

category
pattern
Introduced as event-driven components reconciling with external systems.
about
Reactor concept
Reactions in Sourced observe events and dispatch next commands (e.g. PaymentStarted → Stripe → ConfirmPayment).
concept Reactor
related_to
Event Store concept
Reactors subscribe to events from the event store to perform side effects and integrate with external systems.
concept Saga Pattern
related_to
Reactor concept
Sagas address reactor synchronization errors with non-idempotent external systems.
project Sourced
related_to
Reactor concept
Reactions are first-class in Sourced.

Provenance

Read by
7 extractions