import ChangeLog from ‘../changelog/connector-tdengine.md’;

TDengine

TDengine sink connector

Description

Used to write data to TDengine. You need to create stable before running seatunnel task

Key features

Options

nametyperequireddefault value
urlstringyes-
usernamestringyes-
passwordstringyes-
databasestringyes
stablestringyes-
timezonestringnoUTC
write_columnslistno-

url [string]

the url of the TDengine when you select the TDengine

e.g.

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

timezone [string]

the timeznoe of the TDengine sever, it's important to the ts field

write_columns [list]

The field names to be inserted into TDengine. If not set, all fields will be written. The plugin will automatically append TAGS columns, so please do not include TAGS columns in this option.

Example

sink

sink {
        TDengine {
          url : "jdbc:TAOS-RS://localhost:6041/"
          username : "root"
          password : "taosdata"
          database : "power2"
          stable : "meters2"
          timezone: UTC
          write_columns: ["ts", "voltage", "current", "power"]
        }
}

Changelog