TDengine source connector

Description

Read external data source data through TDengine.

Key features

supports query SQL and can achieve projection effect.

Options

name type required default value
url string yes -
username string yes -
password string yes -
database string yes
stable string yes -
lower_bound long yes -
upper_bound long yes -

url [string]

the url of the TDengine when you select the TDengine

e.g.

  1. jdbc:TAOS-RS://localhost:6041/

username [string]

the username of the TDengine when you select

password [string]

the password of the TDengine when you select

database [string]

the database of the TDengine when you select

stable [string]

the stable of the TDengine when you select

lower_bound [long]

the lower_bound of the migration period

upper_bound [long]

the upper_bound of the migration period

Example

source

  1. source {
  2. TDengine {
  3. url : "jdbc:TAOS-RS://localhost:6041/"
  4. username : "root"
  5. password : "taosdata"
  6. database : "power"
  7. stable : "meters"
  8. lower_bound : "2018-10-03 14:38:05.000"
  9. upper_bound : "2018-10-03 14:38:16.800"
  10. result_table_name = "tdengine_result"
  11. }
  12. }