event sourcing

Storing every change to an application's state as an event and rebuilding the current state by replaying those events.

In more detail

It gives a full history of every change, but queries on current state depend on views built from the events. It pairs naturally with an append-only log that keeps every event.

Example

A Kafka topic can serve as the event store.

Related terms

Taught in

References