# Code generated by ayida from gateway.ayida.hcl, main.ayida.hcl, notifications.ayida.hcl, orders.ayida.hcl, platform.ayida.hcl, users.ayida.hcl. DO NOT EDIT. direction: right vars: { d2-config: { layout-engine: elk } } classes: { kind-container: {} shape-topic: {} } "container__event_5fbus": "Event bus\nCONTAINER · Apache Kafka · event_bus\n\nDomain events between services" { shape: rectangle class: [kind-container; shape-topic] style: { fill: "#2D66AE" stroke: "#245390" font-color: "#FFFFFF" border-radius: 6 } } "container__notifier": "Notifier\nCONTAINER · Node.js, gRPC · notifier\n\nSends notifications and manages preferences" { shape: rectangle class: [kind-container] style: { fill: "#2D66AE" stroke: "#245390" font-color: "#FFFFFF" border-radius: 6 } } "container__order_5fapi": "Order API\nCONTAINER · Go, gRPC · order_api\n\nOrder creation, status, cancellation and history" { shape: rectangle class: [kind-container] style: { fill: "#2D66AE" stroke: "#245390" font-color: "#FFFFFF" border-radius: 6 } } "outside": "outside this view" { shape: oval style: { fill: transparent stroke: "#999999" font-color: "#666666" stroke-dash: 4 } } "container__event_5fbus" -> "container__notifier": "Consumes order.* and user.created\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" } "container__event_5fbus" -> "container__order_5fapi": "Consumes user.deleted to anonymize orders\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" } "container__notifier" -> "outside": "4 relationships" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 4 } "container__order_5fapi" -> "container__event_5fbus": "Publishes order.created, order.paid, order.shipped, order.delivered\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 8 } "container__order_5fapi" -> "container__notifier": "Sends immediate notifications\ngRPC" { style.stroke: "#737373" style.font-color: "#3D3D3D" } "container__order_5fapi" -> "outside": "2 relationships" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 4 } "outside" -> "container__event_5fbus": "Publishes user.created, user.updated, user.deleted\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 4 } "outside" -> "container__notifier": "/api/notifications/*\ngRPC" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 4 } "outside" -> "container__order_5fapi": "/api/orders/*\ngRPC" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 4 }