import ChangeLog from ‘../changelog/connector-tdengine.md’;
TDengine source connector
Read external data source data through TDengine.
supports query SQL and can achieve projection effect.
name | type | required | default value |
---|---|---|---|
url | string | yes | - |
username | string | yes | - |
password | string | yes | - |
database | string | yes | |
stable | string | yes | - |
sub_tables | list | no | - |
lower_bound | long | yes | - |
upper_bound | long | yes | - |
read_columns | list | no | - |
the url of the TDengine when you select the TDengine
e.g.
jdbc:TAOS-RS://localhost:6041/
the username of the TDengine when you select
the password of the TDengine when you select
the database of the TDengine when you select
the stable of the TDengine when you select
A list of sub_table names. If not specified, all sub-tables will be selected. If specified, only the specified sub-tables will be selected.
the lower_bound of the migration period
the upper_bound of the migration period
A list of column names to read. If not specified, all columns will be selected. When reading from a super table, please make sure to put the TAGS columns at the end of the list.
source { TDengine { url : "jdbc:TAOS-RS://localhost:6041/" username : "root" password : "taosdata" database : "power" stable : "meters" sub_tables : ["meter_1","meter_2"] lower_bound : "2018-10-03 14:38:05.000" upper_bound : "2018-10-03 14:38:16.800" plugin_output : "tdengine_result" read_columns : ["ts","voltage","current","power"] } }