# Series Overview

> Series hub for advanced CDC patterns. Exactly-once semantics, multi-tenancy, partitioning, and reconciliation.

Canonical page: <https://sandgraal.github.io/letstalkcdc/overview/>

Change Data Capture marks a fundamental evolution in data integration, moving away from the latent, resource-intensive world of batch processing and into the dynamic paradigm of real-time streaming. By capturing individual data changes as they occur, CDC provides a mechanism to keep disparate systems synchronized with minimal impact and sub-second latency. This technology is a strategic enabler, unlocking real-time analytics and forming the backbone of resilient, modern data architectures.

Start with the fundamentals. Understand what Change Data Capture is and why it’s a cornerstone of modern data architecture through real-world use cases.

## CDC Pipeline Architecture

![CDC pipeline architecture showing data flow from source database through connector to stream and finally to sink](https://sandgraal.github.io/letstalkcdc/diagrams/cdc-pipeline-architecture.svg)

The four stages of a CDC pipeline: Source → Connector → Stream → Sink

## How Change Events Flow

Click any node to highlight its connections. Hover for details.

```
graph LR
    SRC[Source Database] -->|Transaction Log| LOG[WAL / Binlog / Redo]
    LOG -->|Read| CONN[CDC Connector]
    CONN -->|Emit Events| SMT[Transforms]
    SMT -->|Publish| STREAM[Streaming Platform]
    STREAM -->|Consume| SINK[Target System]

    style SRC fill:#e1f5ff
    style CONN fill:#fff3cd
    style STREAM fill:#d4edda
    style SINK fill:#f8d7da
```

Interactive: click a node to highlight its path through the pipeline.

Unfamiliar term? Check the [glossary](https://sandgraal.github.io/letstalkcdc/glossary/). Keep track of finished modules on the [progress dashboard](https://sandgraal.github.io/letstalkcdc/dashboard/), and read [how claims are verified](https://sandgraal.github.io/letstalkcdc/methodology/).

Start Here

Beginner

Core Concept

### Interactive Introduction to CDC

An interactive dashboard covering core concepts, methods, architectures, and the tooling ecosystem.

[Dive In!](https://sandgraal.github.io/letstalkcdc/intro/)

Beginner

Core Concept

### Event Envelope & Delivery Guarantees

Keys vs payload, before/after images, tombstones; ALO vs EOS scope and per-key ordering.

[Dive In!](https://sandgraal.github.io/letstalkcdc/event-envelope/)

Intermediate

Core Concept

### Materialization 101 (Upsert/Delete)

Practical MERGE patterns for upserts & deletes; compaction vs history tables; late-arrivals 101.

[Dive In!](https://sandgraal.github.io/letstalkcdc/materialization/)

Intermediate

Core Concept

### Snapshotting: The First Sync

Learn how CDC pipelines perform the initial, consistent snapshot of a database before streaming live changes.

[Dive In!](https://sandgraal.github.io/letstalkcdc/snapshotting/)

Advanced

Advanced Pattern

### Exactly-Once Semantics

Visual walkthrough of ALO vs EOS + transactional outbox.

[Dive In!](https://sandgraal.github.io/letstalkcdc/exactly-once/)

Advanced

Advanced Pattern

### Is CDC Exactly-Once? Per Hop

Check any exactly-once claim hop by hop: Kafka Connect and Debezium opt-in settings, Kafka transactions, offsets in the sink, and how to verify.

[Check the Claim](https://sandgraal.github.io/letstalkcdc/is-cdc-exactly-once/)

Advanced

Advanced Pattern

### CDC Without Kafka

Debezium Server, the embedded engine, managed services and search-index sync: what each guarantees, what a crash repeats, and why the log position is the version.

[Leave Kafka Out](https://sandgraal.github.io/letstalkcdc/non-kafka-cdc/)

Advanced

Advanced Pattern

### Transactional Outbox and Relay

The outbox pattern with Debezium's Outbox Event Router: why dual writes fail, what at-least-once means for the relay, and how consumers dedupe and order.

[Publish It Right](https://sandgraal.github.io/letstalkcdc/transactional-outbox/)

Advanced

Advanced Pattern

### Multi-Tenancy

Isolation patterns, topic math, and rough egress estimates.

[Dive In!](https://sandgraal.github.io/letstalkcdc/multi-tenancy/)

Advanced

Advanced Pattern

### Partitioning

Partition keys, skew, late-arrivals, and audit loops.

[Dive In!](https://sandgraal.github.io/letstalkcdc/partitioning/)

Advanced

Advanced Pattern

### Which Row Wins in Your Target

Ordering and delete markers in BigQuery, Databricks, Hudi, Iceberg, Delta and Snowflake: what decides the winner and what to set.

[Dive In!](https://sandgraal.github.io/letstalkcdc/which-row-wins/)

Advanced

Advanced Pattern

### Schema Evolution

Handle schema changes gracefully with forward/backward compatibility and schema registries.

[Dive In!](https://sandgraal.github.io/letstalkcdc/schema-evolution/)

Advanced

Advanced Pattern

### Data Contracts for Database Events

What a consumer may rely on when the producer is a database: the envelope, which DDL breaks it, registry modes, and a gate that catches it.

[Read the Contract](https://sandgraal.github.io/letstalkcdc/cdc-data-contracts/)

Intermediate

Ops

### Ops: Offsets & Replays

Offset stores, safe rewind, idempotency, and resync drills when things go sideways.

[Dive In!](https://sandgraal.github.io/letstalkcdc/ops-offsets/)

Intermediate

Ops

### Observability Basics

Golden signals (lag, throughput, error rate), alerting, and minimal dashboards to keep.

[Dive In!](https://sandgraal.github.io/letstalkcdc/observability/)

Intermediate

Ops

### Postgres Replication Slots & WAL Growth

A runbook for a Postgres disk filling behind a CDC slot: the checks, max_slot_wal_keep_size, Debezium heartbeats, and safe recovery.

[Dive In!](https://sandgraal.github.io/letstalkcdc/postgres-replication-slots/)

Intermediate

Ops

### SQL Server & MySQL CDC Specifics

Positions, retention and what breaks for Debezium on MySQL and SQL Server: binlog purge, GTIDs, CDC cleanup jobs, LSNs, triage queries and runbooks.

[Dive In!](https://sandgraal.github.io/letstalkcdc/sql-server-mysql-cdc/)

Advanced

Ops

### Backfill and Re-Snapshot Safely

Reload history into a sink without overwriting newer changes: snapshot modes, incremental snapshots, Kafka replay, the position guard and a runbook.

[Dive In!](https://sandgraal.github.io/letstalkcdc/backfill-resnapshot/)

Intermediate

Core Concept Strategy

### CDC Beyond Relational Databases

MongoDB change streams, DynamoDB Streams, and Cassandra CDC — and where each one breaks the WAL/binlog mental model.

[Dive In!](https://sandgraal.github.io/letstalkcdc/non-relational/)

Intermediate

Ops Strategy

### Security, PII & Access Control

Mask columns before they reach the broker, size the privileges CDC actually needs, and plan for a log that outlives the row.

[Dive In!](https://sandgraal.github.io/letstalkcdc/security/)

Advanced

Advanced Pattern Ops

### Deletes That Stay Deleted

Delete events, Kafka tombstones and sink delete markers; why a late update can resurrect a row; and where a deleted row can still live (compaction, time travel, snapshots, backups).

[Dive In!](https://sandgraal.github.io/letstalkcdc/deletes-stay-deleted/)

Advanced

Advanced Pattern Ops

### Reconciliation & Offset Surgery

Repair out-of-sync sinks and safely reset offsets. SQL diff patterns, checksum verification, and Kafka Connect REST API offset operations.

[Dive In!](https://sandgraal.github.io/letstalkcdc/reconciliation-surgery/)

Beginner

Core Concept

### Real-World Use Cases

Explore practical applications of CDC, from real-time analytics to cache invalidation.

[Dive In!](https://sandgraal.github.io/letstalkcdc/use-cases/)

Beginner

Strategy

### The Strategic Value of CDC

Understand the business case and philosophical shift behind adopting an event-driven data culture.

[Dive In!](https://sandgraal.github.io/letstalkcdc/strategy/)

Beginner

Tooling

### The CDC Ecosystem

A curated overview of the most popular open-source and commercial tools in the landscape (Debezium, Fivetran, etc).

[Dive In!](https://sandgraal.github.io/letstalkcdc/tooling/)

Featured

Intermediate

Strategy

### Real-World Case Study

Follow a mid-sized e-commerce company's journey from batch ETL to real-time CDC, including architecture decisions, implementation challenges, and business outcomes.

[Read the Case Study](https://sandgraal.github.io/letstalkcdc/case-study/)

Intermediate

Lab

### Hands-On Lab: Kafka + Debezium + Sinks

Stand up Kafka, Connect, Postgres source & sink with guided copy-paste commands. Includes upsert patterns and schema evolution.

[Start the Lab](https://sandgraal.github.io/letstalkcdc/lab-kafka-debezium/)

Beginner

Lab

### Quickstarts

Pick your source database and follow a 10–20 minute setup with checks and commands.

[View Quickstarts](https://sandgraal.github.io/letstalkcdc/quickstarts/)

Intermediate

Lab

### Acceptance Tests

Run shell scripts that confirm your lab stack is up, the connector is healthy, and events keep flowing after restarts.

[Verify Your Stack](https://sandgraal.github.io/letstalkcdc/tests/)

Intermediate

Ops Advanced Pattern

### Testing a CDC Pipeline

Contract, duplicate, out-of-order and replay tests for your own pipeline, with runnable examples and what not to test for.

[Write the Tests](https://sandgraal.github.io/letstalkcdc/test-your-pipeline/)

Advanced

Lab

### Failure Scenario Drills

Hands-on drills to build troubleshooting fluency: backpressure, DLQ handling, schema drift, and offset replays.

[Start Drills](https://sandgraal.github.io/letstalkcdc/troubleshooting/failure-drills/)

Intermediate

Lab

### Cloud CDC Labs

End-to-end CDC implementations with cloud-native platforms: AWS DMS, Snowflake, and Matillion.

[Explore Cloud Labs](https://sandgraal.github.io/letstalkcdc/cloud-labs/)

Intermediate

Tooling

### Connector Config Builder

Generate Debezium configs for Postgres, MySQL, or Oracle in minutes.

[Launch the Builder](https://sandgraal.github.io/letstalkcdc/connector-builder/)

Advanced

Extras

### DLQ Triage Assistant

Guided commands and playbooks for decoding and re-driving Kafka DLQ events.

[Try the Assistant](https://sandgraal.github.io/letstalkcdc/dlq-triage/)

Intermediate

Extras

### Debezium Event Decoder

Paste Kafka events to get before/after diffs and MERGE-ready SQL templates.

[Decode an Event](https://sandgraal.github.io/letstalkcdc/debezium-decoder/)

Advanced

Extras

### Nuances & Errata

Corrections, caveats, and sharp edges across CDC: effectively-once vs exactly-once, snapshots & replays, tombstones/compaction, schema evolution, and ops guardrails.

[See nuances](https://sandgraal.github.io/letstalkcdc/errata/)

Beginner

Extras

### Guided Paths

Three routes through the lessons for newcomers, operators and architects, with your progress kept in this browser only.

[Pick a Path](https://sandgraal.github.io/letstalkcdc/path/)

---

CDC: The Missing Manual by Christopher Ennis (Let's Talk CDC), licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attribution is required.
