connector | Must be set to 'postgres-cdc'. | Yes |
hostname | The hostname or IP address of your PostgreSQL database server. | Yes |
port | The port number of your PostgreSQL database server. The default PostgreSQL port is 5432. | Yes |
username | The username for connecting to your PostgreSQL database. This user must have the necessary privileges for CDC (see the Connect to PostgreSQL CDC guide). | Yes |
password | The password for the PostgreSQL user. | Yes |
database.name | The name of the PostgreSQL database to connect to. | Yes |
schema.name | The name of the PostgreSQL schema containing the table you want to ingest data from. If not specified, defaults to 'public'. | No |
table.name | The name of the PostgreSQL table to ingest data from. Note: When creating a table from a shared source, this parameter is not specified in the WITH clause. Instead, it’s specified in the FROM source TABLE pg_table_name clause. | Yes |
slot.name | The name of the PostgreSQL replication slot to use. If not specified, RisingWave will generate a unique, random slot name. Each source should have its own unique slot name. Valid characters are lowercase letters, numbers, and underscore, with length no more than 63 characters. | No |
auto.schema.change | Specify whether you want to enable replicating Postgres table schema change | No |
ssl.mode | The ssl.mode parameter determines the level of SSL/TLS encryption for secure communication with Postgres. Accepted values are disabled, preferred, required, verify-ca, and verify-full. The default value is disabled. - When set to
required, it enforces TLS for establishing a connection; - When set to
verify-ca, it verifies that the server is trustworthy by checking the certificate chain up to the root certificate stored on the client; - When set to
verify-full, it verifies the certificate and also ensures the server hostname matches the name in the certificate.
| No |
ssl.root.cert | Specify the root certificate secret. You must create secret first and then use it here. | No |
publication.name | The name of the PostgreSQL publication to use. If not specified, defaults to 'rw_publication'. | No |
publication.create.enable | Whether to automatically create the publication if it doesn’t exist. Defaults to true. If set to false and the publication doesn’t exist, an error will occur. | No |
transactional | Whether to enable transactions for the CDC table. Defaults to true for shared sources and false otherwise. Note that transactions involving changes to more than 4096 rows cannot be guaranteed due to performance considerations. Also supported for shared CDC sources for multi-table transactions. | No |