Container View for the Event Driven Microservices Example

May 24, 2025 ยท View on GitHub

Diagram

Container View for the Event Driven Microservices Example

Description

Shows the containers of the Microservices Example and their event driven communication

Roles

Person/RoleDescription
CustomerA customer of the online shop

Systems

SystemDescription
Email SystemSends Emails e.g. to customers
Logistics SystemHandles shipping with DHL, UPS, etc.
Payment SystemHandles Credit Card, PayPal, etc.

Containers

ContainerDescription
Account DatabaseStores user accounts
Account ServiceHandles user accounts
Account TopicAccount Events
Inventory DatabaseStores the inventory
Inventory ServiceHandles inventory
Inventory TopicInventory Events
Notification ServiceHandles notifications
Order DatabaseStores the orders
Order ServiceHandles orders
Order TopicOrder Events
Payment DBStores payments
Payment ServiceHandles payments
Payment TopicPayment Events
Product Catalog DatabaseStores the product catalog
Product Catalog ServiceHandles the product catalog
Shipping DatabaseStores the shipping data
Shipping ServiceHandles shipping
Shipping TopicShipping Events
Shop FrontendThe frontend of the online shop
Shopping Cart DatabaseStores the shopping cart
Shopping Cart ServiceHandles the shopping cart
Shopping Cart TopicShopping Cart Events

Synchronous Requests

FromNameToTechnologyDescription
Shop FrontendcallsOrder Serviceget products, place orders
Notification ServicerequestAccount ServiceRESTEmail for Account
Notification ServicerequestEmail SystemSMTPSend Email
Shopping Cart ServicerequestProduct Catalog ServiceRESTProduct Data
Order ServicerequestShipping ServiceRESTShip Order
Order ServicerequestNotification ServiceRESTNotify Customer
Shopping Cart ServicerequestOrder ServiceRESTCreate Order
Product Catalog ServicerequestInventory ServiceRESTCheck Inventory
Payment ServicerequestAccount ServiceRESTPayment Data
Shipping ServicerequestLogistics SystemRESTShip Order
Shipping ServicerequestAccount ServiceRESTAccount Address
Payment ServicerequestPayment SystemRESTTrigger Payment
Order ServicerequestInventory ServiceRESTUpdate Inventory
Order ServicerequestPayment ServiceRESTPayment for Order
Inventory ServicestoreInventory DatabaseJDBCInventory Data
Payment ServicestorePayment DBJDBCPayment Data
Account ServicestoreAccount DatabaseJDBCAccount Data
Order Servicestores/queriesOrder DatabaseJDBCOrder Data
Product Catalog Servicestores/queriesProduct Catalog DatabaseMongoDBProduct Catalog
Shipping Servicestores/queriesShipping DatabaseMongoDBShipping Data
Shopping Cart Servicestores/queriesShopping Cart DatabaseMongoDBShopping Cart Data
CustomerusesShop Frontendbrowse products, place orders

Asynchronous Publish/Produce

FromNameToTechnologyDescription
Payment ServicepublishPayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent
Shipping ServicepublishShipping TopicKafkaShippingProcessedEvent, ShippingFailedEvent
Order ServicepublishOrder TopicKafkaOrderProcessedEvent, OrderCancelledEvent
Account ServicepublishAccount TopicKafkaAccountCreatedEvent, AccountUpdatedEvent, AccountDeactivatedEvent
Shopping Cart ServicepublishShopping Cart TopicKafkaShoppingCartOrderedEvent
Inventory ServicepublishInventory TopicKafkaInventoryProcessedEvent, InventoryOutOfStockEvent

Asynchronous Subscribe/Consume

FromNameToTechnologyDescription
Order ServicesubscribeShipping TopicKafkaShippingProcessedEvent, ShippingFailedEvent
Notification ServicesubscribeInventory TopicKafkaInventoryProcessedEvent, InventoryOutOfStockEvent
Payment ServicesubscribeShipping TopicKafkaShippingFailedEvent
Inventory ServicesubscribeOrder TopicKafkaOrderProcessedEvent, OrderCancelledEvent
Payment ServicesubscribeInventory TopicKafkaInventoryProcessedEvent
Payment ServicesubscribeAccount TopicKafkaAccountCreatedEvent, AccountUpdatedEvent, AccountDeactivatedEvent
Notification ServicesubscribeShipping TopicKafkaShippingProcessedEvent, ShippingFailedEvent
Shipping ServicesubscribePayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent
Order ServicesubscribeShopping Cart TopicKafkaShoppingCartOrderedEvent
Notification ServicesubscribeOrder TopicKafkaOrderProcessedEvent, OrderCancelledEvent
Notification ServicesubscribePayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent
Payment ServicesubscribeInventory TopicKafkaInventoryOutOfStockEvent
Payment ServicesubscribeShopping Cart TopicKafkaShoppingCartOrderedEvent
Notification ServicesubscribeAccount TopicKafkaAccountCreatedEvent, AccountUpdatedEvent, AccountDeactivatedEvent
Order ServicesubscribePayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent

List of views in namespace

List of all Views

(generated by Overarch with template docs/view.md.cmb)