Skip to main content
Version: 1.9.1

Db2CdcConn

class Db2CdcConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
cx_src_configs_db2: dict | None = None,
)

Bases: CdcConn, Db2Conn

Categories: connections

Db2 CDC connection configuration.

Initialize a Db2CdcConn instance.

Parameters

parameter
uri

The Db2 connection URI.

parameter
credentials

Optional user/password credentials for authentication.

parameter
cx_src_configs_db2

Optional Db2-specific connection configuration parameters.

Properties

property
credentialsUserPasswordCredentials | None

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

property
cx_dst_configs_db2dict

Destination-specific configuration parameters for the Db2 connection.

property
cx_src_configs_db2dict

Source-specific configuration parameters for the Db2 connection.

property
enforce_connection_paramsbool

Whether to enforce connection parameters for the Db2 connection.

property
uristr

The URI of the database where the data is located.