Property definition
Data source type: db2
Supported configuration mode (ConnectionPropertiesMode): Connection string mode (UrlMode)
Connection string mode
Parameter | Type | Example | Required | Description |
address | JSON Array | | Yes | The address, which is configured in the JSON array format but contains only a single pair of host and port. |
database | String | mysql_database | Yes | The name of the database. |
jdbcDriver | String | db2_1 | Yes | The model of the Db2 driver. Valid values:
|
username | String | xxxxx | Yes | The username. |
password | String | xxxxx | Yes | The password. |
properties | JSON Object | | No | The properties of the driver. |
envType | String | Dev | Yes | The information about the data source environment. Valid values:
|
Configuration examples
Connection string mode
{
"address": [
{
"host": "127.0.0.1",
"port": 5432
}
],
"database": "db",
"properties": {
"currentSchema": "abc"
},
"jdbcDriver":"db2_1",
"username": "xxxxx",
"password": "xxxxx",
"envType": "Dev"
}