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
+21
View File
@@ -0,0 +1,21 @@
### Topic layout
Topic: shop.public.orders TopicId: e8p9s2PcSK6mPO3bvQRmyA PartitionCount: 3 ReplicationFactor: 1 Configs: min.insync.replicas=1
### Write: 6 orders (ids 10..15), then 4 rounds of single-row updates, then one transaction that updates 10, then 12, then 13
### Which partition each key landed on, and whether its events stayed in WAL order inside that partition
key 10: partitions=['1'] events=6 lsn strictly increasing in offset order=True
key 11: partitions=['1'] events=5 lsn strictly increasing in offset order=True
key 12: partitions=['2'] events=6 lsn strictly increasing in offset order=True
key 13: partitions=['0'] events=6 lsn strictly increasing in offset order=True
key 14: partitions=['0'] events=5 lsn strictly increasing in offset order=True
key 15: partitions=['0'] events=5 lsn strictly increasing in offset order=True
### Reading partition 0, then 1, then 2 (what the broker stores): is the LSN sequence globally increasing?
lsn sequence head: [30455336, 30455528, 30455720, 30456392, 30456552, 30456712, 30457352, 30457512]
globally increasing across partitions: False
events per partition: {'0': 16, '1': 11, '2': 6}
### The multi-statement transaction (statuses TX-A, TX-B, TX-C): one txId, increasing lsn, three different keys
status=TX-A key=10 partition=1 lsn=30459776 txId=818
status=TX-B key=12 partition=2 lsn=30459896 txId=818
status=TX-C key=13 partition=0 lsn=30460016 txId=818