Property definition
Data source type: doris
Supported configuration mode (ConnectionPropertiesMode): Connection string mode (UrlMode)
Connection string mode
Parameter | Type | Example | Required | Description |
address | Array |
| Yes | The address, which contains only a single pair of host and port. |
loadAddress | String |
| Yes | The FE endpoint, which can contain one or more pairs of host and port. |
database | String | dbName | Yes | The name of the database. |
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
{
"envType": "Prod",
"address": [
{
"host": "127.0.0.1",
"port": "3306"
}
],
"loadAddress":[
{
"host": "127.0.0.2",
"port": "8031"
}
],
"database": "my_database",
"username": "my_username",
"password": "my_password",
"properties": {
"socketTimeout": "2000"
}
}