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.
| Property | Type | Values | Default |
|---|---|---|---|
| Projections | number | 1 to 4 | 2 |
| Snapshots | boolean | on or off | true |
| Events shown | number | 2 to 6 | 4 |
How to use it
- Open the editor and press Components, then choose the Smart tab.
- Click Event sourcing to place it, or drag it to an exact spot.
- Adjust its properties, then connect your own shapes to its ports.