Db2CdcConn
classView source ↗
class Db2CdcConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
cx_src_configs_db2: dict | None = None,
)
Categories: connections
Db2 CDC connection configuration.
Initialize a Db2CdcConn instance.
Parameters
parameter
uriThe Db2 connection URI.
parameter
credentialsOptional user/password credentials for authentication.
parameter
cx_src_configs_db2Optional Db2-specific connection configuration parameters.
Properties
property
credentialsUserPasswordCredentials | NoneThe credentials required to access the Db2 database. If no credentials were provided, it will return None.
property
cx_dst_configs_db2dictDestination-specific configuration parameters for the Db2 connection.
property
cx_src_configs_db2dictSource-specific configuration parameters for the Db2 connection.
property
enforce_connection_paramsboolWhether to enforce connection parameters for the Db2 connection.
property
uristrThe URI of the database where the data is located.