Back to Seatunnel

Feishu

docs/en/connectors/sink/Feishu.md

2.3.132.5 KB
Original Source

import ChangeLog from '../changelog/connector-http-feishu.md';

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 TypeFeishu Data Type
ROW
MAPJson
NULLnull
BOOLEANboolean
TINYINTbyte
SMALLINTshort
INTint
BIGINTlong
FLOATfloat
DOUBLEdouble
DECIMALBigDecimal
BYTESbyte[]
STRINGString
TIME
TIMESTAMP
TIMEString
ARRAYJsonArray

Sink Options

NameTypeRequiredDefaultDescription
urlStringYes-Feishu webhook url
headersMapNo-Http request headers
common-optionsno-Sink plugin common parameters, please refer to Sink Common Options for details

Task Example

Simple

hocon
Feishu {
        url = "https://www.feishu.cn/flow/api/trigger-webhook/108bb8f208d9b2378c8c7aedad715c19"
    }

Changelog

<ChangeLog />