lhyundeadsoul commented on code in PR #2832:
URL:
https://github.com/apache/incubator-seatunnel/pull/2832#discussion_r1059399907
##########
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:
I refer to IotDB connector
(`seatunnel-e2e/seatunnel-connector-v2-e2e/connector-iotdb-e2e/src/test/resources/iotdb/iotdb_source_to_sink.conf`)
And I think that 'fields' is the default schema name according to
`org.apache.seatunnel.connectors.seatunnel.common.schema.SeaTunnelSchema#FIELD_KEY`
in
`org.apache.seatunnel.connectors.seatunnel.common.schema.SeaTunnelSchema#buildWithConfig`
--
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]