Skip to content

Commit 0a24902

Browse files
committed
docs: update flowchart
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
1 parent 9860545 commit 0a24902

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

system-design/05-communication-components/05-async.adoc

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,14 @@ sequenceDiagram
3030
flowchart TD
3131
Provider["💳 Payment Provider"]:::ext
3232
Webhook["🌐 Webhook Service"]
33-
RawDB[["🗃️ Raw Webhook DB"]]
34-
Queue["📤 Message Queue\n(Kafka, RabbitMQ, etc.)"]
33+
RawDB[("🗃️ Raw Webhook DB")]
34+
Queue["📤 Message Queue (Kafka, RabbitMQ, etc.)"]
3535
Payment["🧠 Payment System"]
3636
37-
Provider --> Webhook : Webhook POST
38-
Webhook --> RawDB : Store event
39-
Webhook --> Queue : Emit message
40-
Queue --> Payment : Async message
41-
Payment --> Payment : Process payment
42-
43-
classDef ext fill=#fdf6e3,stroke=#333,stroke-width=2,stroke-dasharray: 5 5
37+
Provider --> Webhook
38+
Webhook --> RawDB
39+
Webhook --> Queue
40+
Queue --> Payment
4441
----
4542

4643
== Why This Architecture?

0 commit comments

Comments
 (0)