{
  "version": 1,
  "width": 720,
  "height": 400,
  "title": "Async fan-out",
  "description": "Explain parallel consumers and their individual acknowledgements. All values are illustrative example data.",
  "elements": [
    {
      "type": "text",
      "x": 36,
      "y": 39,
      "text": "Publish once, handle independently",
      "size": 17,
      "fill": "ink",
      "align": "start",
      "mono": false
    },
    {
      "type": "text",
      "x": 36,
      "y": 62,
      "text": "Parallel event consumers",
      "size": 11,
      "fill": "muted",
      "align": "start",
      "mono": true
    },
    {
      "type": "box",
      "x": 48,
      "y": 180,
      "w": 164,
      "h": 66,
      "fill": "soft",
      "stroke": "accent",
      "dashed": false
    },
    {
      "type": "text",
      "x": 130,
      "y": 207,
      "text": "Order placed",
      "size": 15,
      "fill": "ink",
      "align": "middle",
      "mono": false
    },
    {
      "type": "text",
      "x": 130,
      "y": 229,
      "text": "event",
      "size": 11,
      "fill": "muted",
      "align": "middle",
      "mono": true
    },
    {
      "type": "path",
      "d": "M212 213 H326 V111 H470",
      "stroke": "accent",
      "fill": "none",
      "arrow": true
    },
    {
      "type": "box",
      "x": 474,
      "y": 87,
      "w": 194,
      "h": 48,
      "fill": "surface",
      "stroke": "rule",
      "dashed": false
    },
    {
      "type": "text",
      "x": 571,
      "y": 116,
      "text": "Send receipt",
      "size": 15,
      "fill": "ink",
      "align": "middle",
      "mono": false
    },
    {
      "type": "text",
      "x": 357,
      "y": 97,
      "text": "consumer 1",
      "size": 10,
      "fill": "muted",
      "align": "start",
      "mono": false
    },
    {
      "type": "path",
      "d": "M212 213 H326 V222 H470",
      "stroke": "accent",
      "fill": "none",
      "arrow": true
    },
    {
      "type": "box",
      "x": 474,
      "y": 198,
      "w": 194,
      "h": 48,
      "fill": "surface",
      "stroke": "rule",
      "dashed": false
    },
    {
      "type": "text",
      "x": 571,
      "y": 227,
      "text": "Reserve stock",
      "size": 15,
      "fill": "ink",
      "align": "middle",
      "mono": false
    },
    {
      "type": "text",
      "x": 357,
      "y": 208,
      "text": "consumer 2",
      "size": 10,
      "fill": "muted",
      "align": "start",
      "mono": false
    },
    {
      "type": "path",
      "d": "M212 213 H326 V333 H470",
      "stroke": "accent",
      "fill": "none",
      "arrow": true
    },
    {
      "type": "box",
      "x": 474,
      "y": 309,
      "w": 194,
      "h": 48,
      "fill": "surface",
      "stroke": "rule",
      "dashed": false
    },
    {
      "type": "text",
      "x": 571,
      "y": 338,
      "text": "Update metrics",
      "size": 15,
      "fill": "ink",
      "align": "middle",
      "mono": false
    },
    {
      "type": "text",
      "x": 357,
      "y": 319,
      "text": "consumer 3",
      "size": 10,
      "fill": "muted",
      "align": "start",
      "mono": false
    }
  ]
}