Http
Http sink connector
Key Features
Description
Used to launch 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: Http sink only support post json webhook and the data from source will be treated as body content in web hook.
Sink Options
url
String
Yes
-
Http request url
headers
Map
No
-
Http headers
retry
Int
No
-
The max retry times if request http return to IOException
retry_backoff_multiplier_ms
Int
No
100
The retry-backoff times(millis) multiplier if request http failed
retry_backoff_max_ms
Int
No
10000
The maximum retry-backoff times(millis) if request http failed
connect_timeout_ms
Int
No
12000
Connection timeout setting, default 12s.
socket_timeout_ms
Int
No
60000
Socket timeout setting, default 60s.
Example
simple:
Multiple table
example1
example2
Last updated