Event Driven Systems-Lessons from the Trenches

published on 2024/02/18
  • Consider using Event Schemas to ensure their evolution is handled in a versioned way. On the other hand, avoid schemas if the variation of the types of commands/events is small.
  • Consider Event Registries in advanced cases (e.g. when the types of events are in hundreds and the number of consumers is very high). The highly decoupled nature of event-driven systems can sometimes lead to reduced traceability of dependencies and event data flow graph. Registries act like book keepers of publisher/consumers contracts. But like point 1 above, it’s an overkill for less complex systems.

Sids Tech Cafe

Useful reading