To connect RisingWave to a self-hosted PostgreSQL database for Change Data Capture (CDC), you need to configure your database to support logical replication.Documentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Set wal_level to logical
In your postgresql.conf file or via a SQL client, set the wal_level parameter to logical.
If you plan to create multiple CDC sources, ensure the
max_wal_senders parameter in your postgresql.conf is greater than or equal to the number of sources you intend to create. The default value is typically 10.2. Create a dedicated replication user
Create a dedicated PostgreSQL user for replication. This user needs theREPLICATION and LOGIN attributes.