Cdc
3 pages
-
Change Data Capture
concept
Observing DB changes as event stream; log-based (Debezium, WAL/binlog/oplog), trigger-based, query-based mechanisms; CDC vs event sourcing; dual-write problem solved by outbox + CDC; data liberation patterns; strangler migration; schema coupling; log-compacted topics for bootstrap; backpressure on consumers
-
Event Sourcing and CQRS
stream
CDC, event sourcing, CQRS, immutability, write/read path, correctness without coordination; DDD: CQRS sync/async projections, architectural slices, event-sourced domain model four-step cycle; Fowler's four-way event taxonomy (notification/state-transfer/event-sourcing/CQRS)
-
Outbox Pattern
pattern
Atomic write + publish without 2PC; relay process; CDC; data liberation patterns; DDD: two wrong approaches + correct approach; NoSQL embedding; pull vs push relay