Skip to main content
What this does: Reads the PostgreSQL transaction log (WAL) via CDC, syncs table changes into RisingWave in real time, and enables downstream transformations and delivery. When to use this: You need to react to database changes (inserts, updates, deletes) in real time, or build a streaming lakehouse from an operational PostgreSQL database.

Prerequisites

Enable logical replication on your PostgreSQL instance:

Setup

1. Create the CDC source in RisingWave

2. Create a table from the CDC source

3. Build a materialized view on top

4. Query results

5. Deliver to downstream (optional)

Key points

  • RisingWave reads from the PostgreSQL WAL — no triggers or application changes needed
  • Changes (INSERT, UPDATE, DELETE) are all reflected in the RisingWave table
  • The slot.name must match the replication slot you created on PostgreSQL
  • For AWS RDS, Supabase, and Neon, see platform-specific setup guides

Next steps