Skip to content

Instantly share code, notes, and snippets.

@ugurelveren
Created June 23, 2024 19:12
Show Gist options
  • Save ugurelveren/7a9327154653b91160fd3a80b200e957 to your computer and use it in GitHub Desktop.
Save ugurelveren/7a9327154653b91160fd3a80b200e957 to your computer and use it in GitHub Desktop.
saga choreography pattern
graph TD
    ClientRequest[Client Request] --> MessageBroker[Message Broker]
    MessageBroker --> ServiceA[Service A]
    MessageBroker --> ServiceB[Service B]
    MessageBroker --> ServiceC[Service C]

    classDef client fill:#bbdefb,stroke:#333,stroke-width:2px;
    classDef broker fill:#fff9c4,stroke:#333,stroke-width:2px;
    classDef service fill:#c8e6c9,stroke:#333,stroke-width:2px;

    class ClientRequest client;
    class MessageBroker broker;
    class ServiceA,ServiceB,ServiceC service;
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment