Event sourcing

Smart component · Patterns

State is the fold of an append-only event log, with projections and optional snapshots.

Properties

Change any of these in the properties panel and the component regenerates in place. Labels, colours and arrows you attached yourself are kept.

Properties of Event sourcing
PropertyTypeValuesDefault
Projectionsnumber1 to 42
Snapshotsbooleanon or offtrue
Events shownnumber2 to 64

How to use it

  1. Open the editor and press Components, then choose the Smart tab.
  2. Click Event sourcing to place it, or drag it to an exact spot.
  3. Adjust its properties, then connect your own shapes to its ports.

Open the editor

Seen in these templates