This is an automated email from the ASF dual-hosted git repository.

fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 794207c1a2 [Docs][Connector-V2][Feishu]Refactor connector-v2 docs 
using unified format Feishu (#5343)
794207c1a2 is described below

commit 794207c1a2bc56467e62d04fd187292e4086ca1b
Author: Wenjun Ruan <[email protected]>
AuthorDate: Mon Aug 21 19:36:31 2023 +0800

    [Docs][Connector-V2][Feishu]Refactor connector-v2 docs using unified format 
Feishu (#5343)
---
 docs/en/connector-v2/sink/Feishu.md | 66 ++++++++++++++++++++++---------------
 1 file changed, 40 insertions(+), 26 deletions(-)

diff --git a/docs/en/connector-v2/sink/Feishu.md 
b/docs/en/connector-v2/sink/Feishu.md
index bd45977ce8..5573086db3 100644
--- a/docs/en/connector-v2/sink/Feishu.md
+++ b/docs/en/connector-v2/sink/Feishu.md
@@ -2,41 +2,55 @@
 
 > Feishu sink connector
 
-## Description
-
-Used to launch Feishu web hooks using data.
-
-> For example, if the data from upstream is [`age: 12, name: tyrantlucifer`], 
the body content is the following: `{"age": 12, "name": "tyrantlucifer"}`
+## Support Those Engines
 
-**Tips: Feishu sink only support `post json` webhook and the data from source 
will be treated as body content in web hook.**
+> Spark<br/>
+> Flink<br/>
+> SeaTunnel Zeta<br/>
 
-## Key features
+## Key Features
 
 - [ ] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [cdc](../../concept/connector-v2-features.md)
 
-## Options
-
-|      name      |  type  | required | default value |
-|----------------|--------|----------|---------------|
-| url            | String | Yes      | -             |
-| headers        | Map    | No       | -             |
-| common-options |        | no       | -             |
-
-### url [string]
-
-Feishu webhook url
-
-### headers [Map]
-
-Http request headers
+## Description
 
-### common options
+Used to launch Feishu web hooks using data.
 
-Sink plugin common parameters, please refer to [Sink Common 
Options](common-options.md) for details
+> For example, if the data from upstream is [`age: 12, name: tyrantlucifer`], 
the body content is the following: `{"age": 12, "name": "tyrantlucifer"}`
 
-## Example
+**Tips: Feishu sink only support `post json` webhook and the data from source 
will be treated as body content in web hook.**
 
-simple:
+## Data Type Mapping
+
+|     Seatunnel Data type     | Feishu Data type |
+|-----------------------------|------------------|
+| ROW<br/>MAP                 | Json             |
+| NULL                        | null             |
+| BOOLEAN                     | boolean          |
+| TINYINT                     | byte             |
+| SMALLINT                    | short            |
+| INT                         | int              |
+| BIGINT                      | long             |
+| FLOAT                       | float            |
+| DOUBLE                      | double           |
+| DECIMAL                     | BigDecimal       |
+| BYTES                       | byte[]           |
+| STRING                      | String           |
+| TIME<br/>TIMESTAMP<br/>TIME | String           |
+| ARRAY                       | JsonArray        |
+
+## Sink Options
+
+|      Name      |  Type  | Required | Default |                               
              Description                                             |
+|----------------|--------|----------|---------|-----------------------------------------------------------------------------------------------------|
+| url            | String | Yes      | -       | Feishu webhook url            
                                                                      |
+| headers        | Map    | No       | -       | Http request headers          
                                                                      |
+| common-options |        | no       | -       | Sink plugin common 
parameters, please refer to [Sink Common Options](common-options.md) for 
details |
+
+## Task Example
+
+### Simple:
 
 ```hocon
 Feishu {

Reply via email to