PostgresCdcConn
classView source ↗
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
uriThe PostgreSQL connection URI.
parameter
credentialsOptional user/password credentials for authentication.
parameter
cx_src_configs_postgresOptional PostgreSQL-specific connection configuration parameters.
Properties
property
credentialsUserPasswordCredentials | NoneThe credentials required to access the Postgres database. If no credentials were provided, it will return None.
property
cx_dst_configs_postgresdictDestination-specific configuration parameters for the Postgres connection.
property
cx_src_configs_postgresdictSource-specific configuration parameters for the Postgres connection.
property
enforce_connection_paramsboolWhether to enforce connection parameters for the Postgres connection.
property
uristrThe URI of the database where the data is located.