Container View for the simple Event Driven Communication Microservices Example

May 17, 2025 ยท View on GitHub

Diagram

Container View for the simple Event Driven Communication Microservices Example

Description

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

Documentation

With 'Event Driven Architecture', the services communicate by publishing and subscribing to topics. The communication is asynchronous and the services are temporarily decoupled. The orchestration of the process is done by the connection of the services to the topics and the event processing policies on each service.

This architecture is more resilient to changes and failures. A service can be added or removed without affecting the other services. Events are stored in the topic and will be processed when the service is up.

The process could be reconfigured by changing the connections to the topics and the policies. This is also called a 'Pipes and Filters' architecture.

Containers

ContainerDescription
Inventory ServiceHandles inventory
Inventory TopicInventory Events
Notification ServiceHandles notifications
Order ServiceHandles orders
Order TopicOrder Events
Payment ServiceHandles payments
Payment TopicPayment Events
Shipping ServiceHandles shipping
Shipping TopicShipping Events

Asynchronous Publish/Produce

FromNameToTechnologyDescription
Inventory ServicepublishInventory TopicKafkaInventoryProcessedEvent, InventoryOutOfStockEvent
Payment ServicepublishPayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent
Order ServicepublishOrder TopicKafkaOrderProcessedEvent, OrderCancelledEvent
Shipping ServicepublishShipping TopicKafkaShippingProcessedEvent, ShippingFailedEvent

Asynchronous Subscribe/Consume

FromNameToTechnologyDescription
Notification ServicesubscribeInventory TopicKafkaInventoryProcessedEvent, InventoryOutOfStockEvent
Inventory ServicesubscribeOrder TopicKafkaOrderProcessedEvent, OrderCancelledEvent
Payment ServicesubscribeInventory TopicKafkaInventoryProcessedEvent
Notification ServicesubscribePayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent
Shipping ServicesubscribePayment TopicKafkaPaymentProcessedEvent, PaymentFailedEvent
Notification ServicesubscribeShipping TopicKafkaShippingProcessedEvent, ShippingFailedEvent
Notification ServicesubscribeOrder TopicKafkaOrderProcessedEvent, OrderCancelledEvent

List of views in namespace

List of all Views

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