Skip to content
Graphviz (DOT) templates

AWS EventBridge Hub-Spoke

Central event bus routing domain events to multiple consumers.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

digraph eb {
  rankdir=LR;
  graph [bgcolor=transparent];
  node [shape=box, style="rounded,filled", fontname=Inter, fontsize=10];

  P1 [label="Order svc", fillcolor="#dbeafe"];
  P2 [label="Payment svc", fillcolor="#dbeafe"];
  P3 [label="Inventory svc", fillcolor="#dbeafe"];
  EB [label="EventBridge bus\n(custom)", fillcolor="#fef3c7"];
  R1 [label="Rule: order.created\n→ email lambda", fillcolor="#ede9fe"];
  R2 [label="Rule: payment.captured\n→ analytics firehose", fillcolor="#ede9fe"];
  R3 [label="Rule: *.failed\n→ DLQ + page", fillcolor="#fee2e2"];
  C1 [label="Lambda: email", fillcolor="#dcfce7"];
  C2 [label="Firehose → S3", fillcolor="#dcfce7"];
  C3 [label="SQS DLQ + SNS", fillcolor="#dcfce7"];

  P1 -> EB; P2 -> EB; P3 -> EB;
  EB -> R1 -> C1;
  EB -> R2 -> C2;
  EB -> R3 -> C3;
}