CQRS pattern

Smart component · Patterns

Commands write through a write model; events feed read-optimised projections for queries.

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 CQRS pattern
PropertyTypeValuesDefault
Read modelsnumber1 to 42
Show clientbooleanon or offtrue

How to use it

  1. Open the editor and press Components, then choose the Smart tab.
  2. Click CQRS pattern 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