From 9f5d8761d2781dcb1b92c892378355f33f526490 Mon Sep 17 00:00:00 2001 From: medusa Date: Mon, 1 Jul 2024 10:15:30 +0000 Subject: [PATCH] Update tech_docs/PlantUML.md --- tech_docs/PlantUML.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/tech_docs/PlantUML.md b/tech_docs/PlantUML.md index 79142bc..85de11e 100644 --- a/tech_docs/PlantUML.md +++ b/tech_docs/PlantUML.md @@ -307,4 +307,38 @@ class Car { --- ### Conclusion -PlantUML is a powerful tool for creating a wide range of diagrams, providing a text-based approach to diagramming that is both versatile and integrative. By leveraging these diagrams, you can effectively model, document, and communicate various aspects of a system, from high-level architecture to detailed design. \ No newline at end of file +PlantUML is a powerful tool for creating a wide range of diagrams, providing a text-based approach to diagramming that is both versatile and integrative. By leveraging these diagrams, you can effectively model, document, and communicate various aspects of a system, from high-level architecture to detailed design. + +--- + +graph TD + subgraph Messaging_Infrastructure + NATS_Server[NATS Server] + end + + subgraph Publishers + Publisher_1[Publisher 1] + Publisher_2[Publisher 2] + end + + subgraph Subscribers + Subscriber_1[Subscriber 1] + Subscriber_2[Subscriber 2] + Subscriber_3[Subscriber 3] + end + + subgraph Services + Service_A[Service A] + Service_B[Service B] + end + + Publisher_1 -->|Publish message| NATS_Server + Publisher_2 -->|Publish message| NATS_Server + + NATS_Server -->|Distribute message| Subscriber_1 + NATS_Server -->|Distribute message| Subscriber_2 + NATS_Server -->|Distribute message| Subscriber_3 + + Subscriber_1 -->|Process message| Service_A + Subscriber_2 -->|Process message| Service_B + Subscriber_3 -->|Process message| Service_A