๐Ÿ—๏ธ Modernizing Enterprise Applications
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Data Across the Seam
Part 6 5 chapters

Data Across the Seam

Shared data โ†’ CDC/log-tailing (+ inventory extraction) โ†’ outbox โ†’ event-sourcing/CQRS โ†’ ACIDโ†’ACD.

Chapter 18

From Shared Data to Owned Data

A foreign key is a dependency the database enforces silently. Database-per-service trades it for autonomy, snapshots and eventual consistency.

Read โ†’
Chapter 19

Transaction Log Tailing, CDC & Extraction 3: Inventory

Log-tailing CDC with Debezium bridges the monolith's tables during the transition; Inventory leaves behind a gRPC contract with a decomposed database and an explicit compensating Release.

Read โ†’
Chapter 20

The Outbox Pattern, Done Right

Transactional outbox versus dual write: idempotent consumers, ordering by aggregate key, relay latency, and when to move from polling to log-based CDC.

Read โ†’
Chapter 21

Event Sourcing & CQRS

CQRS splits a write model from event-fed read models; event sourcing makes the log the record and is kept light and optional here. The costs of each.

Read โ†’
Chapter 22

ACID โ†’ ACD: Living Without Isolation

Dirty reads, lost updates and non-repeatable reads come back once services commit independently; what survives the cut, what a saga rebuilds and how to bound the rest.

Read โ†’
โ† Previous part The Strangler Fig in Practice Next part โ†’ Coordinating Across Services

Modernizing Enterprise Applications

A Spring Boot monolith strangled to Quarkus + Camel microservices, one seam at a time, driven by an Agentic Development Lifecycle (ADLC) and tested throughout.

Book

  • Chapters
  • Examples
  • Bibliography
  • Build plan โ†—

Reference

  • Quarkus โ†—
  • Apache Camel โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท Apache 2.0 Last built 2026-11-11