Outbox Postgresql Kafka Vue (OPKV) MachaOn

Overview

In SAGA Choreography, each service produces and listens for events and decides on its actions based on the events it observes. This approach allows services to operate independently without needing a central coordinator, facilitating a more decentralized approach to managing business processes.

The Transactional Outbox pattern is a database-centric approach to reliably handle message publishing with message queues in distributed systems, especially in microservices architecture. It is designed to ensure consistent data management and message dispatching in scenarios where you have a transaction followed by a message that must be sent to notify other parts of the system of the change.

Project structure

Container diagram

Docker Build

Creates and starts the containers command:

D:\projects\outbox-postgresql-kafka-vue>docker compose up -d