OpenMldb source connector
Used to read data from OpenMldb.
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 | - |
OpenMldb is or not cluster mode
Sql statement
Database name
OpenMldb host, only supported on OpenMldb single mode
OpenMldb port, only supported on OpenMldb single mode
Zookeeper host, only supported on OpenMldb cluster mode
Zookeeper path, only supported on OpenMldb cluster mode
OpenMldb session timeout(ms), default 60000
OpenMldb request timeout(ms), default 10000
Source plugin common parameters, please refer to Source Common Options for details
OpenMldb {
host = "172.17.0.2"
port = 6527
sql = "select * from demo_table1"
database = "demo_db"
cluster_mode = false
}