import ChangeLog from ‘../changelog/connector-tdengine.md’;
TDengine sink connector
Used to write data to TDengine. You need to create stable before running seatunnel task
name | type | required | default value |
---|---|---|---|
url | string | yes | - |
username | string | yes | - |
password | string | yes | - |
database | string | yes | |
stable | string | yes | - |
timezone | string | no | UTC |
write_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
the timeznoe of the TDengine sever, it's important to the ts field
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.
sink { TDengine { url : "jdbc:TAOS-RS://localhost:6041/" username : "root" password : "taosdata" database : "power2" stable : "meters2" timezone: UTC write_columns: ["ts", "voltage", "current", "power"] } }