Sign up GitHub

pg-cdc - Everything You Need for Production

Explore everything pg-cdc can do. Select a capability to see how it delivers governed, real-time operational data for analytics and AI.

Continuous WAL Capture

pg-cdc streams inserts, updates, and deletes in near real-time straight from PostgreSQL logical replication slots — no triggers, no dual-writes, no impact on your application path.

  • Reads directly from logical replication slots (pgoutput).
  • No application changes — No triggers, dual-writes, or code modifications required.
  • Minimal database overhead — Reads WAL changes without impacting your application’s transaction path
  • Exactly ordered change stream — Preserves PostgreSQL commit order for consistent downstream processing
  • Governed data lake output — Writes optimized Parquet/Iceberg datasets to Amazon S3 for analytics and AI
  • Schema Evolution Without Downtime Handles column additions, removals, and type-compatible changes while keeping downstream consumers running.
  • Exactly-Once Delivery Guarantees Prevents duplicate records across retries and restarts, ensuring consistent and reliable datasets.
  • Open Table Formats, Zero Vendor Lock-in Your data remains in open Apache Iceberg or Parquet formats, allowing you to switch query engines without migrations.
  • Fault-tolerant recovery — Resumes safely from PostgreSQL replication slots after interruptions.
  • AI-Ready Historical Context Every Iceberg snapshot preserves a complete historical view of your operational data, enabling reproducible analytics, auditing, and AI workflows with built-in time travel.
  • Built for AI and analytics — Creates governed operational data that can be consumed by data platforms and AI agents without exposing production databases.
  • Automatic schema evolution — Detects schema changes and keeps downstream datasets aligned.
Read the docs