Feishu
Feishu sink connector
Support Those Engines
Spark
Flink
SeaTunnel Zeta
Key Features
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"}
Tips: Feishu sink only support post json
webhook and the data from source will be treated as body content in web hook.
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 for details |
Task Example
Simple:
Feishu {
url = "https://www.feishu.cn/flow/api/trigger-webhook/108bb8f208d9b2378c8c7aedad715c19"
}
Changelog
Change Log
Change | Commit | Version |
---|---|---|
[improve] http connector options (#8969) | https://github.com/apache/seatunnel/commit/63ff9f910 | 2.3.10 |
[Feature][Restapi] Allow metrics information to be associated to logical plan nodes (#7786) | https://github.com/apache/seatunnel/commit/6b7c53d03 | 2.3.9 |
[Feature][Connector-V2] Support TableSourceFactory/TableSinkFactory on http (#5816) | https://github.com/apache/seatunnel/commit/6f49ec6ea | 2.3.4 |
[Improve][build] Give the maven module a human readable name (#4114) | https://github.com/apache/seatunnel/commit/d7cd60105 | 2.3.1 |
[Improve][Project] Code format with spotless plugin. (#4101) | https://github.com/apache/seatunnel/commit/a2ab16656 | 2.3.1 |
[Feature][Connector-V2][Http] Add option rules && Improve Myhours sink connector (#3351) | https://github.com/apache/seatunnel/commit/cc8bb60c8 | 2.3.0 |
[Feature][Connector-V2] Add feishu sink (#2381) | https://github.com/apache/seatunnel/commit/0fec8ca43 | 2.2.0-beta |