Container View for the Event Driven Microservices Example
May 24, 2025 ยท View on GitHub
Diagram

Description
Shows the containers of the Microservices Example and their event driven communication
Roles
| Person/Role | Description |
|---|---|
| Customer | A customer of the online shop |
Systems
| System | Description |
|---|---|
| Email System | Sends Emails e.g. to customers |
| Logistics System | Handles shipping with DHL, UPS, etc. |
| Payment System | Handles Credit Card, PayPal, etc. |
Containers
| Container | Description |
|---|---|
| Account Database | Stores user accounts |
| Account Service | Handles user accounts |
| Account Topic | Account Events |
| Inventory Database | Stores the inventory |
| Inventory Service | Handles inventory |
| Inventory Topic | Inventory Events |
| Notification Service | Handles notifications |
| Order Database | Stores the orders |
| Order Service | Handles orders |
| Order Topic | Order Events |
| Payment DB | Stores payments |
| Payment Service | Handles payments |
| Payment Topic | Payment Events |
| Product Catalog Database | Stores the product catalog |
| Product Catalog Service | Handles the product catalog |
| Shipping Database | Stores the shipping data |
| Shipping Service | Handles shipping |
| Shipping Topic | Shipping Events |
| Shop Frontend | The frontend of the online shop |
| Shopping Cart Database | Stores the shopping cart |
| Shopping Cart Service | Handles the shopping cart |
| Shopping Cart Topic | Shopping Cart Events |
Synchronous Requests
Asynchronous Publish/Produce
| From | Name | To | Technology | Description |
|---|---|---|---|---|
| Payment Service | publish | Payment Topic | Kafka | PaymentProcessedEvent, PaymentFailedEvent |
| Shipping Service | publish | Shipping Topic | Kafka | ShippingProcessedEvent, ShippingFailedEvent |
| Order Service | publish | Order Topic | Kafka | OrderProcessedEvent, OrderCancelledEvent |
| Account Service | publish | Account Topic | Kafka | AccountCreatedEvent, AccountUpdatedEvent, AccountDeactivatedEvent |
| Shopping Cart Service | publish | Shopping Cart Topic | Kafka | ShoppingCartOrderedEvent |
| Inventory Service | publish | Inventory Topic | Kafka | InventoryProcessedEvent, InventoryOutOfStockEvent |
Asynchronous Subscribe/Consume
| From | Name | To | Technology | Description |
|---|---|---|---|---|
| Order Service | subscribe | Shipping Topic | Kafka | ShippingProcessedEvent, ShippingFailedEvent |
| Notification Service | subscribe | Inventory Topic | Kafka | InventoryProcessedEvent, InventoryOutOfStockEvent |
| Payment Service | subscribe | Shipping Topic | Kafka | ShippingFailedEvent |
| Inventory Service | subscribe | Order Topic | Kafka | OrderProcessedEvent, OrderCancelledEvent |
| Payment Service | subscribe | Inventory Topic | Kafka | InventoryProcessedEvent |
| Payment Service | subscribe | Account Topic | Kafka | AccountCreatedEvent, AccountUpdatedEvent, AccountDeactivatedEvent |
| Notification Service | subscribe | Shipping Topic | Kafka | ShippingProcessedEvent, ShippingFailedEvent |
| Shipping Service | subscribe | Payment Topic | Kafka | PaymentProcessedEvent, PaymentFailedEvent |
| Order Service | subscribe | Shopping Cart Topic | Kafka | ShoppingCartOrderedEvent |
| Notification Service | subscribe | Order Topic | Kafka | OrderProcessedEvent, OrderCancelledEvent |
| Notification Service | subscribe | Payment Topic | Kafka | PaymentProcessedEvent, PaymentFailedEvent |
| Payment Service | subscribe | Inventory Topic | Kafka | InventoryOutOfStockEvent |
| Payment Service | subscribe | Shopping Cart Topic | Kafka | ShoppingCartOrderedEvent |
| Notification Service | subscribe | Account Topic | Kafka | AccountCreatedEvent, AccountUpdatedEvent, AccountDeactivatedEvent |
| Order Service | subscribe | Payment Topic | Kafka | PaymentProcessedEvent, PaymentFailedEvent |
Navigation
(generated by Overarch with template docs/view.md.cmb)