Lemlist
Lemlist 源连接器
描述
用于从 Lemlist 读取数据。
关键特性
选项
| 参数名 | 类型 | 必须 | 默认值 | 描述 |
|---|---|---|---|---|
| url | String | 是 | - | HTTP 请求 URL |
| password | String | 是 | - | API 密钥用于登录 |
| method | String | 否 | get | HTTP 请求方法,仅支持 GET、POST 方法 |
| schema.fields | Config | 否 | - | 上游数据的模式字段 |
| format | String | 否 | json | 上游数据的格式,现在仅支持 json text,默认 json。 |
| params | Map | 否 | - | HTTP 参数 |
| body | String | 否 | - | HTTP 请求体 |
| json_field | Config | 否 | - | JSON 字段配置 |
| content_json | String | 否 | - | 内容 JSON 配置 |
| poll_interval_millis | int | 否 | - | 流模式下请求 HTTP API 的间隔(毫秒) |
| retry | int | 否 | - | 如果 HTTP 请求返回 IOException 的最大重试次数 |
| retry_backoff_multiplier_ms | int | 否 | 100 | HTTP 请求失败时的重试退避倍数(毫秒) |
| retry_backoff_max_ms | int | 否 | 10000 | HTTP 请求失败时的最大重试退避时间(毫秒) |
| enable_multi_lines | boolean | 否 | false | 是否启用多行模式 |
| common-options | config | 否 | - | 源插件通用参数 |
url [String]
HTTP 请求 URL
password [String]
API 密钥用于登录,您可以在以下链接获取更多详情:
https://app.lemlist.com/settings/integrations
method [String]
HTTP 请求方法,仅支持 GET、POST 方法
params [Map]
HTTP 参数
body [String]
HTTP 请求体
poll_interval_millis [int]
流模式下请求 HTTP API 的间隔(毫秒)
retry [int]
如果 HTTP 请求返回 IOException 的最大重试次数
retry_backoff_multiplier_ms [int]
HTTP 请求失败时的重试退避倍数(毫秒)
retry_backoff_max_ms [int]
HTTP 请求失败时的最大重试退避时间(毫秒)
format [String]
上游数据的格式,现在仅支持 json text,默认 json。
当您指定格式为 json 时,您还应该指定 schema 选项。
schema [Config]
fields [Config]
上游数据的模式字段
content_json [String]
此参数可以获取一些 JSON 数据。如果您只需要 'book' 部分中的数据,配置 content_field = "$.store.book.*"。
变更日志
Change Log
| Change | Commit | Version |
|---|---|---|
| [improve] http connector options (#8969) | https://github.com/apache/seatunnel/commit/63ff9f910a | 2.3.10 |
| [Feature][Connector-V2] Support TableSourceFactory/TableSinkFactory on http (#5816) | https://github.com/apache/seatunnel/commit/6f49ec6ead | 2.3.4 |
| [Improve][build] Give the maven module a human readable name (#4114) | https://github.com/apache/seatunnel/commit/d7cd601051 | 2.3.1 |
| [Improve][Project] Code format with spotless plugin. (#4101) | https://github.com/apache/seatunnel/commit/a2ab166561 | 2.3.1 |
| [Improve][Connector-V2][Http]Improve json parse option rule for all http connector (#3627) | https://github.com/apache/seatunnel/commit/589e4161ec | 2.3.0 |
| [Feature][Connector-V2][HTTP] Use json-path parsing (#3510) | https://github.com/apache/seatunnel/commit/1807eb6c95 | 2.3.0 |
| [Hotfix][OptionRule] Fix option rule about all connectors (#3592) | https://github.com/apache/seatunnel/commit/226dc6a119 | 2.3.0 |
| [Improve][Connector-V2][Lemlist] Unified exception for lemlist connector (#3534) | https://github.com/apache/seatunnel/commit/705728ebbb | 2.3.0 |
| [Feature][Connector-V2][Lemlist]Add Lemlist source connector (#3346) | https://github.com/apache/seatunnel/commit/12d66b4247 | 2.3.0 |