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