crejk / cinema

Demonstration of transactional outbox pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cinema

Demonstrates event-driven architecture using the transactional outbox pattern to achieve at-least-once delivery.

release module

Responsible for publishing movies

Saves the provided movie to the database and then publishes an event about its release.

board module

Responsible for displaying 10 recently released movies

Listens to the events in order to update the view of movies.
The board service is idempotent, enabling us to achieve exactly-once processing.

About

Demonstration of transactional outbox pattern


Languages

Language:Java 100.0%