~/.mathieu

  • About
  • Projects
  • Garden
Home

❯

slips

❯

Command handlers convert commands into events

Command handlers convert commands into events

26 Aug 2025

Title: Real-World Event Sourcing (book)
Author: Hoffman, Kevin

  • distilled

In event sourcing and CQRS, command handlers should take the commands and turn it into one or more events.

Of course, it also needs to validate commands, not emitting an event as an event holds actual change.

Reference

Hoffman, Kevin. Real-World Event Sourcing: Distribute, Evolve, and Scale Your Elixir Applications. The Pragmatic Bookshelf, 2025. The Pragmatic Programmers.

Highlights or timestamps

Real-World Event Sourcing

Transclude of 1756163751-real-world-event-sourcing#^000002


Backlinks

  • Command handlers should validate commands
  • An event holds actual change
  • Event sourcing aggregates
  • Event handlers
  • Command handlers convert commands into events
  • Reference
  • Highlights or timestamps

Recent Notes

  • Metrics only capture things that can be quantified

    11 Mar 2026

    • thought
    • measure
    • data-quality
  • Don't be data-driven; be data-informed

    11 Mar 2026

    • blueprint
    • measure
    • decisions
    • risk
  • Cutting metrics is sometimes beneficial

    11 Mar 2026

    • thought
    • way-of-work
    • prioritisation
  • Home
  • Recent notes
  • Timeline
  • RSS Feed

Created with Quartz v4.5.0 © 2026