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.namemust match the replication slot you created on PostgreSQL - For AWS RDS, Supabase, and Neon, see platform-specific setup guides
Next steps
- Lakehouse ingestion recipe — sink CDC data to Iceberg
- PostgreSQL CDC reference — full connector options