TyrantLucifer commented on code in PR #2832:
URL:
https://github.com/apache/incubator-seatunnel/pull/2832#discussion_r1059413084
##########
docs/en/connector-v2/sink/TDengine.md:
##########
@@ -0,0 +1,104 @@
+# TDengine
+
+> TDengine sink connector
+
+## Description
+
+Used to write data to TDengine.
+
+## Key features
+
+- [x] [parallelism](../../concept/connector-v2-features.md)
+- [x] [support user-defined split](../../concept/connector-v2-features.md)
+
+## Options
+
+| name | type | required | default value |
+|----------------------------|---------|----------|---------------|
+| url | string | yes | - |
+| username | string | yes | - |
+| password | string | yes | - |
+| database | string | yes | |
+| stable | string | yes | - |
+| fields | config | no | - |
+| tags | config | no | - |
+
+### 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
+
+### fields [string]
+
+the fields of the TDengine stable
+
+e.g.
+
+```hocon
+ fields {
+ ts = "timestamp"
+ current = "float"
+ voltage = "int"
+ phase = "float"
+ location = "string"
+ groupid = "int"
+ }
+```
Review Comment:
This config file maybe has some problems, `fields` option does not work in
it. I agree with @CalvinKirs , now all connectors unified the config of schema,
you can refer to
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-connectors-v2/connector-file/connector-file-local/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/local/source/LocalFileSource.java#L75
study how use `SeaTunnelSchema` get `SeaTunnelRowType`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]