OpenMldb
OpenMldb source connector
Descriptionâ
Used to read data from OpenMldb.
Key featuresâ
Optionsâ
name | type | required | default value |
---|---|---|---|
cluster_mode | boolean | yes | - |
sql | string | yes | - |
database | string | yes | - |
host | string | no | - |
port | int | no | - |
zk_path | string | no | - |
zk_host | string | no | - |
session_timeout | int | no | 10000 |
request_timeout | int | no | 60000 |
common-options | no | - |
cluster_mode [string]â
OpenMldb is or not cluster mode
sql [string]â
Sql statement
database [string]â
Database name
host [string]â
OpenMldb host, only supported on OpenMldb single mode
port [int]â
OpenMldb port, only supported on OpenMldb single mode
zk_host [string]â
Zookeeper host, only supported on OpenMldb cluster mode
zk_path [string]â
Zookeeper path, only supported on OpenMldb cluster mode
session_timeout [int]â
OpenMldb session timeout(ms), default 60000
request_timeout [int]â
OpenMldb request timeout(ms), default 10000
common optionsâ
Source plugin common parameters, please refer to Source Common Options for details
Exampleâ
OpenMldb {
host = "172.17.0.2"
port = 6527
sql = "select * from demo_table1"
database = "demo_db"
cluster_mode = false
}