Event Sourcing is not Event Streaming

Event Sourcing and event streaming both work with events, so they’re easy to confuse. In Event Sourcing, events are the state: you read the entity’s stream, rebuild its state, run business logic and append new events with an optimistic concurrency check. Streaming tools like Kafka move events between places and don’t give you those guarantees.

The article answers the popular post “Don’t Let the Internet Dupe You, Event Sourcing is Hard”. Most problems described there, like deciding on stale data, come from using a streaming tool as an event store.

For the basics, start with Event Sourcing foundations.

  1. Event Streaming is not Event Sourcing!

    2021-12-01I usually don’t try to fight the HackerNews or Reddit opinions. That said, I cannot deny that they’re powerful platforms. The heated rants can create a significant impact…