# Why Change Data Capture Still Breaks, and How To Get It Right.

> Learn why Change Data Capture (CDC) projects fail and how to build scalable, reliable, and production-ready data pipelines. A deep-dive series.

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

Build production-grade CDC pipelines, understand why they fail, and learn how to design resilient, real-time data architectures.

**In the modern data landscape**, the value of information is intrinsically linked to its timeliness. Decisions made on outdated data can lead to missed opportunities, inefficient operations, and a diminished competitive edge. This reality has exposed the limitations of traditional data integration methods like nightly batch jobs and paved the way for a more dynamic, real-time approach. This series shows you how to build production-grade CDC pipelines that deliver on the promise of real-time data.

## What is Change Data Capture (CDC)?

**Change Data Capture (CDC)** is a set of software design patterns used to identify, capture, and deliver the changes made to data in a source system, most commonly a database. Instead of copying entire datasets at intervals, CDC focuses exclusively on incremental, row-level changes like INSERT, UPDATE, and DELETE operations. Once captured, these change events are delivered in real-time or near-real-time to downstream systems such as data warehouses, analytics platforms, or other applications that need to stay synchronized with the source data.

1. Source DB

⟶

2. Transaction Log

⟶

3. Broker / Stream

⟶

4. Sinks

### How it works (at a glance)

1. **Source DB** writes to its transaction log.
2. **Log reader/agent** tails the log and emits change events.
3. **Broker/stream** transports events (Kafka).
4. **Sinks** consume and apply changes (MERGE/UPSERT).

### A Tale of Two Worlds: Batch vs. Real-Time

To understand the paradigm shift that CDC represents, consider the difference between a daily newspaper and a live, streaming news feed.

- **The Daily Batch:** You get the full story once a day. The information was accurate when printed, but by the time it reaches you, it’s already half a day old. In many business scenarios—fraud detection, inventory management, personalization—this delay is unacceptable.
- **The Real-Time Feed:** Updates stream in continuously, allowing organizations to respond to events as they happen. CDC enables this by capturing each change event and propagating it without waiting for a batch window.

CDC shifts the conversation from *“How often do we sync?”* to *“How quickly can we respond?”* When done right, it becomes the backbone of resilient streaming architectures, flexible data platforms, and responsive user experiences.

## Glossary

Need to nail down the vocabulary first? The [CDC glossary](https://sandgraal.github.io/letstalkcdc/glossary/) defines WAL/redo log, LSN/SCN, tombstones, snapshots, exactly-once vs. effectively-once, partition keys, and the rest of the terms used across the modules — each with a stable anchor you can deep-link to.

## What You'll Learn

Follow our structured learning path to build a comprehensive understanding of Change Data Capture, from core concepts to advanced, real-world implementation.

### 1. Interactive Introduction to CDC

This interactive introduction is the central starting point for your CDC journey. Get a firm grasp on the core concepts, methods, and tooling, then choose the path that fits your needs—from beginner fundamentals to advanced production patterns.

[Choose what to Read](https://sandgraal.github.io/letstalkcdc/overview/)

### 2. Core Concepts and Mechanics

Dive into the mechanics. Learn about the transaction log, change tables, and the essential metadata that powers CDC from the ground up.

[Learn the Concepts](https://sandgraal.github.io/letstalkcdc/intro/)

### 3. The Three Pillars of CDC (The Patterns)

Compare the primary implementation patterns: Log-based, Trigger-based, and Timestamp-based. Understand the pros and cons of each.

[Explore the Patterns](https://sandgraal.github.io/letstalkcdc/strategy/)

### 4. Implementation and The Data Pipeline

Put theory into practice. See how CDC fits into modern ETL/ELT pipelines and integrates with streaming platforms like Apache Kafka.

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

### 5. Advanced Topics

Level up your knowledge. Tackle complex challenges like handling Slowly Changing Dimensions (SCD) and managing schema drift in production systems.

[Go Advanced](https://sandgraal.github.io/letstalkcdc/schema-evolution/)

### 6. The Ecosystem

Explore the landscape of CDC technologies. Get a curated overview of the most popular open-source and commercial tools in the ecosystem.

[Discover the Tools](https://sandgraal.github.io/letstalkcdc/tooling/)

## Join the Community

**Connect with other CDC practitioners!** Share your experiences, get help with challenges, and discuss best practices in our GitHub Discussions.

- 💬 **Share your CDC stack** – What tools and technologies are you using?
- 🐛 **War stories** – Share debugging experiences and lessons learned
- ❓ **Get help** – Stuck in a lab or facing a production issue?
- 💡 **Feature requests** – Tell us what you'd like to see added

[Visit GitHub Discussions →](https://github.com/sandgraal/letstalkcdc/discussions)

---

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.
