Skip to main content
Version: 1.9.1

PostgresCdcConn

class PostgresCdcConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
cx_src_configs_postgres: dict | None = None,
)

Bases: CdcConn, PostgresConn

Categories: connections

PostgreSQL CDC connection configuration.

Initialize a PostgresCdcConn instance.

Parameters

parameter
uri

The PostgreSQL connection URI.

parameter
credentials

Optional user/password credentials for authentication.

parameter
cx_src_configs_postgres

Optional PostgreSQL-specific connection configuration parameters.

Properties

property
credentialsUserPasswordCredentials | None

The credentials required to access the Postgres database. If no credentials were provided, it will return None.

property
cx_dst_configs_postgresdict

Destination-specific configuration parameters for the Postgres connection.

property
cx_src_configs_postgresdict

Source-specific configuration parameters for the Postgres connection.

property
enforce_connection_paramsbool

Whether to enforce connection parameters for the Postgres connection.

property
uristr

The URI of the database where the data is located.