IBM Db2 Bulk CDC
The Micro-Integration for IBM Db2 Bulk CDC captures changes (inserts, updates, deletes) from multiple IBM Db2 database tables simultaneously (using Debezium) and streams them to topics on an event broker service. Only header mapping is supported; payload mapping is not available for this Micro-Integration.
You can configure IBM Db2 only as a source.
To configure the connection details for IBM Db2 in your Micro-Integration, see IBM Db2 Bulk CDC Connection Parameters.
You must also define one Micro-Integration Flow that specifies:
-
the endpoints where data is consumed from and published to. For more information, see Micro-Integration Flow Parameters.
-
how the header fields should be mapped. For more information, see Mapping Headers and Payloads.
For bulk CDC Micro-Integrations, payload transformations are not supported. Header transformations and Smart Topics are supported.
For message headers, see IBM Db2 Bulk CDC Message Headers .
IBM Db2 Bulk CDC Connection Parameters
The following table describes the connection parameters for IBM Db2.
| Field | Description |
|---|---|
| Database Hostname | The hostname of the IBM Db2 database server. |
| Database Port | The port of the IBM Db2 database server. |
| Database Name | The name of the IBM Db2 database. |
| Authentication |
The authentication scheme to use when connecting to IBM Db2. Select one of:
|
| Skip Delete Events | Select to skip the processing of delete events from the database change stream. The option is enabled by default. |
| Additional Properties |
(Optional) Any additional configuration related to IBM Db2. Click Add Context if you need to specify additional context properties. For more information, see Additional Properties. |
| Checkpoint Queue | The name of the Last Value Queue (LVQ) on the event broker service to use for checkpointing. The LVQ stores information about the change events that have been processed and those that are currently being processed. The LVQ must exist on the same event broker service and VPN as the target destination. |
| Auto Create Checkpoint Queue | Select this option to automatically create the LVQ if it does not exist. |
Basic Authentication Parameters
| Field | Description |
|---|---|
| Username | The username to use for logging in to IBM Db2. |
| Password | The password to use for authenticating with the IBM Db2 database. |
SSL Certificate Authentication (Db2) Parameters
| Field | Description |
|---|---|
| SSL Truststore | The truststore file containing trusted certificates for the IBM Db2 server. |
| Truststore Type | The type of the SSL truststore, either JKS or PKCS12. |
| Truststore Password | The password for the SSL truststore. |
| Username | The username to use for logging in to IBM Db2. |
| Password | The password to authenticate with the IBM Db2 database. |
Micro-Integration Flow Parameters
You must configure the endpoint parameters for the Flow. The Flow shares the connection details of the parent Micro-Integration.
The following table describes the parameters for configuring IBM Db2 as a source.
| Field | Description |
|---|---|
| Destination |
The tables from which to consume change events. Each entry must include the database name and the table name in
|
| DB2 Boolean Column Selector | Regular expression used to select SMALLINT columns that should be interpreted as boolean values. This is optional and should only be set when SMALLINT columns represent boolean semantics. |
| Additional Properties |
(Optional) Any additional configuration related to IBM Db2 that applies for this Flow. Click Add Context if you need to specify additional context properties. For more information, see Additional Properties. |
Additional Properties
The following table lists additional properties that are available.
|
|
Default Value | Description |
|---|---|---|
|
|
|
Controls initial snapshot behavior. Select one of the following snapshot options:
|
|
|
|
The maximum number of events to batch. |
|
|
|
The maximum size of the queue for change events read from the database log but not yet recorded or forwarded. Always set this value to be larger than the maximum batch size. |
includeSchemaChanges
|
false
|
When true, indicates that the Micro-Integration captures DDL schema changes. |
tombstonesOnDelete
|
true
|
Controls whether a delete event is followed by a tombstone event:
|
|
|
|
Specifies how the Micro-Integration handles exceptions during processing of events. The possible values are:
|
schemaNameAdjustmentMode
|
None
|
Controls how schema and table names are adjusted to comply with serialization constraints:
|
decimalHandlingMode
|
double
|
Specifies how DECIMAL and NUMERIC types are represented in change events:
|
timePrecisionMode
|
adaptive
|
Determines how temporal types are represented in emitted events. Values include:
|
tableExcludeList
|
null
|
A comma-separated list of regular expressions that match the fully-qualified names of tables to be excluded from monitoring. |
|
|
|
A comma-separated list of the operation types that you want the Micro-Integration to skip during streaming. You can configure the Micro-Integration to skip the following types of operations:
|
schemaHistoryInternalStoreOnlyCapturedTablesDdl
|
true
|
Property that controls the Debezium DDL; if set to false, it captures all available tables. |