{
 "type": "excalidraw",
 "version": 2,
 "source": "https://excalidraw.com",
 "elements": [
  {
   "id": "r1346441887",
   "type": "rectangle",
   "x": 20,
   "y": 56,
   "width": 1400,
   "height": 300,
   "angle": 0,
   "strokeColor": "#dddddd",
   "backgroundColor": "#fafafa",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1732115469,
   "versionNonce": 1738627511,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "r966718731",
   "type": "rectangle",
   "x": 40,
   "y": 140,
   "width": 300,
   "height": 120,
   "angle": 0,
   "strokeColor": "#3d7a4e",
   "backgroundColor": "#eaf4ec",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1671174765,
   "versionNonce": 855972229,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t1861102823",
   "type": "text",
   "x": 50,
   "y": 148,
   "width": 138.60000000000002,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1235041146,
   "versionNonce": 889276125,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "PIECE 1: the write",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "PIECE 1: the write",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t99333366",
   "type": "text",
   "x": 50,
   "y": 168,
   "width": 139.15,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1969156591,
   "versionNonce": 797050822,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "order row + outbox row,",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "order row + outbox row,",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1619618232",
   "type": "text",
   "x": 50,
   "y": 183,
   "width": 114.95,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1097299165,
   "versionNonce": 83983645,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Same @Transactional",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "Same @Transactional",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "r305545934",
   "type": "rectangle",
   "x": 380,
   "y": 140,
   "width": 280,
   "height": 120,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 658745406,
   "versionNonce": 226416620,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t113032442",
   "type": "text",
   "x": 390,
   "y": 148,
   "width": 138.60000000000002,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1293892812,
   "versionNonce": 1271642494,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "PIECE 2: the relay",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "PIECE 2: the relay",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t110836365",
   "type": "text",
   "x": 390,
   "y": 168,
   "width": 145.20000000000002,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 816273982,
   "versionNonce": 61925442,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "@Scheduled poll, 2000ms,",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "@Scheduled poll, 2000ms,",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1202397686",
   "type": "text",
   "x": 390,
   "y": 183,
   "width": 145.20000000000002,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 549164469,
   "versionNonce": 1175394356,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "oldest-unpublished-first",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "oldest-unpublished-first",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "r629471523",
   "type": "rectangle",
   "x": 700,
   "y": 140,
   "width": 220,
   "height": 120,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "#111111",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1859706644,
   "versionNonce": 1803955887,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t995603139",
   "type": "text",
   "x": 710,
   "y": 148,
   "width": 146.3,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#ffffff",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 243595863,
   "versionNonce": 634418322,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "PIECE 3: the broker",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "PIECE 3: the broker",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t701127918",
   "type": "text",
   "x": 710,
   "y": 168,
   "width": 151.25,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 109444889,
   "versionNonce": 1126181923,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Kafka topic order.placed,",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "Kafka topic order.placed,",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1459312376",
   "type": "text",
   "x": 710,
   "y": 183,
   "width": 127.05000000000001,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 822592650,
   "versionNonce": 296542198,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "keyed by aggregate id",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "keyed by aggregate id",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "r419660141",
   "type": "rectangle",
   "x": 960,
   "y": 140,
   "width": 320,
   "height": 120,
   "angle": 0,
   "strokeColor": "#3d7a4e",
   "backgroundColor": "#eaf4ec",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 284324435,
   "versionNonce": 1303870858,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t971132859",
   "type": "text",
   "x": 970,
   "y": 148,
   "width": 161.70000000000002,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1010438293,
   "versionNonce": 1103884428,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "PIECE 4: the consumer",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "PIECE 4: the consumer",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t1677080036",
   "type": "text",
   "x": 970,
   "y": 168,
   "width": 181.50000000000003,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1548895102,
   "versionNonce": 642385840,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "idempotent: check-then-insert,",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "idempotent: check-then-insert,",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1821076542",
   "type": "text",
   "x": 970,
   "y": 183,
   "width": 114.95,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 753297248,
   "versionNonce": 1291758570,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "deduped by order id",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "deduped by order id",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "a1957294728",
   "type": "arrow",
   "x": 340.0,
   "y": 200.0,
   "width": 40.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1579567665,
   "versionNonce": 1136470430,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     40.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": null,
   "endBinding": null,
   "startArrowhead": null,
   "endArrowhead": "arrow"
  },
  {
   "id": "t460438279",
   "type": "text",
   "x": 360.0,
   "y": 186.0,
   "width": 387.20000000000005,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 708708647,
   "versionNonce": 196937470,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "poll WHERE published_at IS NULL (separate process, after commit)",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "poll WHERE published_at IS NULL (separate process, after commit)",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "a1607535944",
   "type": "arrow",
   "x": 660.0,
   "y": 200.0,
   "width": 40.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 722244489,
   "versionNonce": 1108254163,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     40.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": null,
   "endBinding": null,
   "startArrowhead": null,
   "endArrowhead": "arrow"
  },
  {
   "id": "t1063459390",
   "type": "text",
   "x": 680.0,
   "y": 186.0,
   "width": 187.55,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1797820178,
   "versionNonce": 432198812,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "publish (blocks for broker ack)",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "publish (blocks for broker ack)",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "a886166948",
   "type": "arrow",
   "x": 920.0,
   "y": 200.0,
   "width": 40.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1575315628,
   "versionNonce": 1353750183,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     40.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": null,
   "endBinding": null,
   "startArrowhead": null,
   "endArrowhead": "arrow"
  },
  {
   "id": "t1953119762",
   "type": "text",
   "x": 940.0,
   "y": 186.0,
   "width": 199.65,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 239555783,
   "versionNonce": 1438650483,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "@Incoming: at-least-once delivery",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "@Incoming: at-least-once delivery",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t337001534",
   "type": "text",
   "x": 720.0,
   "y": 22,
   "width": 392.70000000000005,
   "height": 21.25,
   "angle": 0,
   "strokeColor": "#1d1d1d",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 885774482,
   "versionNonce": 1250346374,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "the outbox's four moving parts, end to end",
   "fontSize": 17,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "the outbox's four moving parts, end to end",
   "lineHeight": 1.25,
   "baseline": 17
  },
  {
   "id": "t1645609309",
   "type": "text",
   "x": 40,
   "y": 280,
   "width": 629.475,
   "height": 13.125,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 305517860,
   "versionNonce": 268038225,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "OrderService#writeOrderPlacedOutboxEvent writes through the same OutboxRepository the relay below reads from.",
   "fontSize": 10.5,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "OrderService#writeOrderPlacedOutboxEvent writes through the same OutboxRepository the relay below reads from.",
   "lineHeight": 1.25,
   "baseline": 10.5
  },
  {
   "id": "t1654499027",
   "type": "text",
   "x": 380,
   "y": 280,
   "width": 589.0500000000001,
   "height": 13.125,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1596772566,
   "versionNonce": 1511144883,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "findTop50ByPublishedAtIsNullOrderByCreatedAtAsc(), backed by the partial index idx_outbox_unpublished.",
   "fontSize": 10.5,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "findTop50ByPublishedAtIsNullOrderByCreatedAtAsc(), backed by the partial index idx_outbox_unpublished.",
   "lineHeight": 1.25,
   "baseline": 10.5
  },
  {
   "id": "t62496661",
   "type": "text",
   "x": 700,
   "y": 280,
   "width": 467.77500000000003,
   "height": 13.125,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1131928021,
   "versionNonce": 958954282,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": ".get(5, TimeUnit.SECONDS) blocks for the ack; published_at is stamped only after.",
   "fontSize": 10.5,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": ".get(5, TimeUnit.SECONDS) blocks for the ack; published_at is stamped only after.",
   "lineHeight": 1.25,
   "baseline": 10.5
  },
  {
   "id": "t315194801",
   "type": "text",
   "x": 960,
   "y": 280,
   "width": 577.5,
   "height": 13.125,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 643544216,
   "versionNonce": 1484044565,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "NotificationService#recordOrderPlaced: findByOrderId, then insert; backstopped by a DB unique index.",
   "fontSize": 10.5,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "NotificationService#recordOrderPlaced: findByOrderId, then insert; backstopped by a DB unique index.",
   "lineHeight": 1.25,
   "baseline": 10.5
  },
  {
   "id": "t248940068",
   "type": "text",
   "x": 40,
   "y": 330,
   "width": 871.2,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#1d1d1d",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1967422237,
   "versionNonce": 276659024,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "At-least-once (the relay) + idempotent (the consumer) is the whole guarantee: Kleppmann's \"effectively-once.\" Neither half alone is the pattern.",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "At-least-once (the relay) + idempotent (the consumer) is the whole guarantee: Kleppmann's \"effectively-once.\" Neither half alone is the pattern.",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t510231525",
   "type": "text",
   "x": 40,
   "y": 410,
   "width": 1732.5000000000002,
   "height": 12.5,
   "angle": 0,
   "strokeColor": "#777777",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1309485841,
   "versionNonce": 1855310572,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Sourced from _docs/20-outbox-pattern-done-right.md; examples/00-monolith/.../order/OrderService.java, .../common/outbox/{OutboxEvent,OutboxRelay}.java; examples/03-notification-service/.../NotificationService.java. Same shape mirrored in examples/05-payment-service/.../{PaymentOutboxEvent,PaymentOutboxRelay}.java.",
   "fontSize": 10,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "Sourced from _docs/20-outbox-pattern-done-right.md; examples/00-monolith/.../order/OrderService.java, .../common/outbox/{OutboxEvent,OutboxRelay}.java; examples/03-notification-service/.../NotificationService.java. Same shape mirrored in examples/05-payment-service/.../{PaymentOutboxEvent,PaymentOutboxRelay}.java.",
   "lineHeight": 1.25,
   "baseline": 10
  }
 ],
 "appState": {
  "viewBackgroundColor": "#ffffff",
  "gridSize": null
 },
 "files": {}
}