You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2023/01/04 11:07:23 UTC

[GitHub] [incubator-seatunnel] lhyundeadsoul commented on a diff in pull request #2832: [Feature][Connector-V2] add tdengine source

lhyundeadsoul commented on code in PR #2832:
URL: https://github.com/apache/incubator-seatunnel/pull/2832#discussion_r1061371562


##########
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:
   Thank you for your advice. 
   TDengine is a structured database so I can get the data schema using TDENGINE API without schema config. Therefore, I remove the schema config now.
   
   Please give me a CR again. Thx!



-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org