Event Types By David Boyne

Event Types By David Boyne

Event Types

When building EDA applications, it’s important to know the different types of events you can publish, each has their own trade-offs.

Notification Events

  • Minimal information
  • Less risk of data being out of sync
  • Consumers often need to fetch data
  • Increases architecture coupling (callback for info)
  • Producer/Consumer contracts kept minimum
  • Lower risk of breaking contracts

Event-Carried State Transfer

  • Enriched events (stateful)
  • Higher risk of data being out of sync
  • Consumers have the data
  • Decreases architecture coupling
  • Producer/consumer contracts more coupled
  • Higher risks of breaking contracts

Delta events

  • Stores difference between old/new
  • Examples seen in change data capture events
  • Can reduce complex in consumers needing to figure out what has changed

Domain Events

  • Events that raised in the same bounded context
  • Some folks reference these as internal events raised in bounded context
  • Some folks reference these as business “important” events.
  • People also refer to “integration” events. These are events used for integrations.

Extra Resources

Want to work together?

If you're interested in collaborating, I offer consulting, training, and workshops. I can support you throughout your event-driven architecture journey, from design to implementation. Feel free to reach out to discuss how we can work together, or explore my services on EventCatalog.

EDA Visuals: The book

Join over 13,000 others learning EDA and download all the EDA visuals directly to your computer.

This book contains all the visuals in one book, you can download, read offline and explore.

Purchasing the book supports my work, but for whatever reason if the book is beyond your budget, you can download it for free here.

Purchase book $15.00
Diagrams and thoughts by @boyney123 to help you learn.