diff --git a/docs/en/connector-v2/sink/Feishu.md b/docs/en/connector-v2/sink/Feishu.md index bd45977ce80..5573086db3e 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
+> Flink
+> SeaTunnel Zeta
-## 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
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
TIMESTAMP
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 {