Series 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
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.

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

Beginner
Core Concept

Event Envelope & Delivery Guarantees

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

Dive In!

Intermediate
Core Concept

Materialization 101 (Upsert/Delete)

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

Dive In!

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!

Advanced
Advanced Pattern

Exactly-Once Semantics

Visual walkthrough of ALO vs EOS + transactional outbox.

Dive In!

Advanced
Advanced Pattern

Multi-Tenancy

Isolation patterns, topic math, and rough egress estimates.

Dive In!

Advanced
Advanced Pattern

Partitioning

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

Dive In!

Advanced
Advanced Pattern

Schema Evolution

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

Dive In!

Intermediate
Ops

Ops: Offsets & Replays

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

Dive In!

Intermediate
Ops

Observability Basics

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

Dive In!

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!

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!

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!

Beginner
Core Concept

Real-World Use Cases

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

Dive In!

Beginner
Strategy

The Strategic Value of CDC

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

Dive In!

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!

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

Beginner
Lab

Quickstarts

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

View 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

Advanced
Lab

Failure Scenario Drills

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

Start Drills

Intermediate
Lab

Cloud CDC Labs

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

Explore Cloud Labs

Intermediate
Tooling

Connector Config Builder

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

Launch the Builder

Advanced
Extras

DLQ Triage Assistant

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

Try the Assistant

Intermediate
Extras

Debezium Event Decoder

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

Decode an Event

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