cdc

Capture and propagate database changes via write-ahead log or binary log.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/hung-phan/system-skills --skill cdc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cdc
Source: https://github.com/hung-phan/system-skills/tree/main/skills/system-review/references/data-systems/cdc
Command: npx skills add https://github.com/hung-phan/system-skills --skill cdc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Debezium, Kafka, database with WAL/binlog, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of keeping data in sync across multiple systems without the risk of data inconsistency or duplication, commonly encountered in distributed architectures.

Core Features & Use Cases

  • Change Data Capture (CDC): Tracks and propagates changes from the source database to target systems.
  • Data Consistency: Ensures that all downstream systems have the latest data with minimal latency.
  • Use Case: Use this Skill to ensure that your search index is always up-to-date with changes in your database, without the need for dual writes.

Quick Start

Run the 'cdc' skill to set up Change Data Capture from the source database to the target system.

Frequently Asked Questions about cdc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does change data capture maintain eventual consistency across distributed systems?

Change data capture maintains eventual consistency by tracking database modifications through the write-ahead log or binary log and propagating them to downstream systems, ensuring all targets reflect the latest data with minimal latency.

Do I need Debezium and Kafka to set up real-time database synchronization?

Yes, you need Debezium and Kafka to set up real-time database synchronization, along with a source database that supports logical replication or binary logging to capture and stream the changes.

How to synchronize a search index with my database without dual writes?

To synchronize a search index without dual writes, run the CDC skill to capture database changes directly from the write-ahead log and propagate them automatically to your search index.

What is the best way to replicate database changes to a data lake in real time?

The best way to replicate database changes to a data lake in real time is using change data capture to read the binary log and propagate rows to the target data lake with minimal latency.

Why does CDC require a database with logical replication or binary logging enabled?

CDC requires a database with logical replication or binary logging enabled because it relies on the write-ahead log or binary log to track changes, which is necessary to propagate updates without data inconsistency or duplication.