Add debezium-cdc module: Debezium 3.7.1 CDC from Postgres 18 to Kafka, Connect vs embedded engine vs outbox

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
asmhatre
2026-11-29 13:36:01 +05:30
co-authored by Claude Sonnet 5.5
parent e2c42dc268
commit 95e75d0101
32 changed files with 1200 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@ directly under `output/` instead, with the equivalent depth in the article's own
| [`kafka-streams/`](kafka-streams/README.md) | Kafka Streams with Spring Boot 4: Real-Time Fraud Detection with Vector Similarity | A fraud topology tested entirely under `TopologyTestDriver`: cosine-similarity scoring, a 5-minute windowed count that alerts exactly once, and a KTable blocklist join with a tombstone, plus the Spring wiring that needs no broker to load |
| [`amqp10/`](amqp10/README.md) | AMQP 1.0 in Spring Boot 4.2 with RabbitMQ 4 | The generic AMQP 1.0 starter and RabbitMQ's own AMQP 1.0 client against a real RabbitMQ 4.4 broker: address forms and what a broker refusal looks like, a queue shared with AMQP 0-9-1, and a listener that kills its own consumer under Boot's defaults. Needs Docker (Testcontainers). Output lives in `output/`, no `docs/` folder |
| [`cloud-stream/`](cloud-stream/README.md) | Spring Cloud Stream on Boot 4: Functional Kafka and RabbitMQ Binders | One set of `Supplier`/`Function`/`Consumer` beans on Kafka and on RabbitMQ: partitioning (and how each binder really does it), dead-letter queues, the test binder, and the wiring mistakes with their real error messages. Needs Docker (Testcontainers). Output lives in `output/`, no `docs/` folder |
| [`debezium-cdc/`](debezium-cdc/README.md) | Debezium CDC with Spring Boot: Stream Postgres Changes to Kafka (and When to Prefer the Outbox) | Debezium 3.7.1 against Postgres 18 and Kafka 4.4, run two ways: Kafka Connect and the embedded engine inside a Spring Boot 4.2 app. Event envelope and replica identity, per-key ordering, redelivery after `kill -9`, WAL pinned by a quiet or orphaned slot, and the outbox `EventRouter`. Needs Docker. Output lives in `output/`, no `docs/` folder |
The brokers make an instructive set. Kafka's consumer holds an offset and the broker remembers
nothing about individual records; RabbitMQ's broker owns the message until it is acknowledged and