This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/dev/pr-12602-d96364aabc45de306cda9da82040c500783eea91
in repository https://gitbox.apache.org/repos/asf/seatunnel.git

commit d1b72974c4cfd7757cd146b159f992aac9cd65d1
Author: Jast <[email protected]>
AuthorDate: Wed Nov 25 14:34:58 2026 +0000

    [Docs] Fix connector and format doc inaccuracies verified against source 
code (#12602)
    
    Co-authored-by: zhangshenghang <[email protected]>
    Co-authored-by: jast <[email protected]>
    Co-authored-by: zhiwei.niu <[email protected]>
---
 docs/en/connectors/formats/canal-json.md           | 10 +++++
 docs/en/connectors/formats/debezium-json.md        | 10 +++++
 .../formats/kafka-compatible-kafkaconnect-json.md  |  8 ++++
 docs/en/connectors/formats/maxwell-json.md         |  8 ++++
 docs/en/connectors/formats/ogg-json.md             |  8 ++++
 docs/en/connectors/sink/Clickhouse.md              | 49 ++++++++++++++++++++++
 docs/en/connectors/sink/Typesense.md               |  4 ++
 docs/zh/connectors/formats/canal-json.md           |  8 ++++
 docs/zh/connectors/formats/debezium-json.md        |  8 ++++
 .../formats/kafka-compatible-kafkaconnect-json.md  |  8 ++++
 docs/zh/connectors/formats/maxwell-json.md         |  7 ++++
 docs/zh/connectors/formats/ogg-json.md             |  7 ++++
 docs/zh/connectors/sink/Clickhouse.md              | 47 +++++++++++++++++++++
 docs/zh/connectors/sink/Typesense.md               |  4 ++
 14 files changed, 186 insertions(+)

diff --git a/docs/en/connectors/formats/canal-json.md 
b/docs/en/connectors/formats/canal-json.md
index 3a08ed04ff..11966e7e59 100644
--- a/docs/en/connectors/formats/canal-json.md
+++ b/docs/en/connectors/formats/canal-json.md
@@ -25,6 +25,16 @@ UPDATE messages must contain a complete row image; partial 
updates containing on
 
 > **Note:** The prefixed keys `canal_json.ignore-parse-errors`, 
 > `canal_json.database.include`, and `canal_json.table.include` are not valid 
 > configuration keys and have no effect. Whether unparseable records are 
 > skipped is decided by each connector (for example, the Kafka source always 
 > skips them for Canal JSON), and the `database.include`/`table.include` 
 > filters of the format module are currently not wired to any connector.
 
+:::warning
+
+In the current SeaTunnel implementation, the options above (except `format`) 
are not read from the job
+configuration. Connectors decide the parse-error behavior themselves: the 
Kafka and Pulsar sources
+always skip rows with parse errors in `canal_json` format, while the Amazon 
SQS source never skips.
+The `canal_json.database.include` / `canal_json.table.include` filtering is 
not applied by any
+connector.
+
+:::
+
 # How to use
 
 ## Kafka Uses Example
diff --git a/docs/en/connectors/formats/debezium-json.md 
b/docs/en/connectors/formats/debezium-json.md
index fa3e9e1c1f..0f4e500e89 100644
--- a/docs/en/connectors/formats/debezium-json.md
+++ b/docs/en/connectors/formats/debezium-json.md
@@ -27,6 +27,16 @@ UPDATE messages must contain a complete row image; partial 
updates containing on
 
 > **Note:** The prefixed key `debezium-json.ignore-parse-errors` is not a 
 > valid configuration key and has no effect. Whether unparseable records are 
 > skipped is decided by each connector (for example, the Kafka source always 
 > skips them for Debezium JSON).
 
+:::warning
+
+In the current SeaTunnel implementation, `debezium-json.ignore-parse-errors` 
is not read from the job
+configuration. The Kafka source always skips rows with parse errors in 
`debezium_json` format, while
+the Amazon SQS source fails on them. Whether Debezium records include the 
schema is controlled by
+connector-specific options such as the Kafka source's 
`debezium_record_include_schema`, not by a
+`debezium-json.*` option.
+
+:::
+
 # How To Use
 
 ## Kafka Uses example
diff --git a/docs/en/connectors/formats/kafka-compatible-kafkaconnect-json.md 
b/docs/en/connectors/formats/kafka-compatible-kafkaconnect-json.md
index b51aa5f478..ab8c7b9141 100644
--- a/docs/en/connectors/formats/kafka-compatible-kafkaconnect-json.md
+++ b/docs/en/connectors/formats/kafka-compatible-kafkaconnect-json.md
@@ -2,6 +2,14 @@
 
 Seatunnel connector kafka supports parsing data extracted through kafka 
connect source, especially data extracted from kafka connect jdbc and kafka 
connect debezium
 
+# Format Options
+
+| Option                         | Default | Required | Description            
                                  |
+|--------------------------------|---------|----------|----------------------------------------------------------|
+| format                         | (none)  | yes      | Specify what format to 
use, here should be `compatible_kafka_connect_json`. |
+| key_converter_schema_enabled   | true    | no       | Whether the Kafka 
Connect key converter carries its schema in the JSON payload. |
+| value_converter_schema_enabled | true    | no       | Whether the Kafka 
Connect value converter carries its schema in the JSON payload. |
+
 ## Limitations
 
 UPDATE messages must contain a complete row image; partial updates containing 
only changed fields are not supported.
diff --git a/docs/en/connectors/formats/maxwell-json.md 
b/docs/en/connectors/formats/maxwell-json.md
index 75eeda38c2..c65f9f338a 100644
--- a/docs/en/connectors/formats/maxwell-json.md
+++ b/docs/en/connectors/formats/maxwell-json.md
@@ -23,6 +23,14 @@ UPDATE messages must contain a complete row image; partial 
updates containing on
 
 > **Note:** The prefixed keys `maxwell_json.ignore-parse-errors`, 
 > `maxwell_json.database.include`, and `maxwell_json.table.include` are not 
 > valid configuration keys and have no effect. Whether unparseable records are 
 > skipped is decided by each connector (for example, the Kafka source always 
 > skips them for Maxwell JSON), and the `database.include`/`table.include` 
 > filters of the format module are currently not wired to any connector.
 
+:::warning
+
+In the current SeaTunnel implementation, the options above (except `format`) 
are not read from the job
+configuration. Only the Kafka source supports `maxwell_json`, and it always 
skips rows with parse
+errors. The `maxwell_json.database.include` / `maxwell_json.table.include` 
filtering is not applied.
+
+:::
+
 # How To Use MaxWell format
 
 ## Kafka Uses Example
diff --git a/docs/en/connectors/formats/ogg-json.md 
b/docs/en/connectors/formats/ogg-json.md
index b7a1b94316..fea9b56668 100644
--- a/docs/en/connectors/formats/ogg-json.md
+++ b/docs/en/connectors/formats/ogg-json.md
@@ -23,6 +23,14 @@ UPDATE messages must contain a complete row image; partial 
updates containing on
 
 > **Note:** The prefixed keys `ogg_json.ignore-parse-errors`, 
 > `ogg_json.database.include`, and `ogg_json.table.include` are not valid 
 > configuration keys and have no effect. Whether unparseable records are 
 > skipped is decided by each connector (for example, the Kafka source always 
 > skips them for Ogg JSON), and the `database.include`/`table.include` filters 
 > of the format module are currently not wired to any connector.
 
+:::warning
+
+In the current SeaTunnel implementation, the options above (except `format`) 
are not read from the job
+configuration. Only the Kafka source supports `ogg_json`, and it always skips 
rows with parse errors.
+The `ogg_json.database.include` / `ogg_json.table.include` filtering is not 
applied.
+
+:::
+
 # How to Use Ogg format
 
 ## Kafka Uses Example
diff --git a/docs/en/connectors/sink/Clickhouse.md 
b/docs/en/connectors/sink/Clickhouse.md
index 5f95c2056b..6ed206fde4 100644
--- a/docs/en/connectors/sink/Clickhouse.md
+++ b/docs/en/connectors/sink/Clickhouse.md
@@ -200,6 +200,55 @@ sink {
 }
 ```
 
+## ClickhouseFile Sink
+
+Besides the `Clickhouse` sink plugin above, this connector also provides the 
`ClickhouseFile` sink plugin
+(factory identifier `ClickhouseFile`). Instead of writing rows over JDBC, it 
feeds the data to a local
+`clickhouse-local` program to generate ClickHouse part files, copies the 
generated files to the target
+ClickHouse server nodes (`scp` or `rsync`), and attaches them to the target 
table. This is usually much faster than row-by-row inserts for large batch 
writes.
+
+Set `table` to an existing ClickHouse `Distributed` table. The sink reads its 
cluster and backing
+local table from the `Distributed` definition before writing.
+
+The `ClickhouseFile` sink reads only these options from [Sink 
Options](#sink-options) above: `host`,
+`database`, `table`, `username`, `password`, `clickhouse.config`, 
`sharding_key` and `server_time_zone`.
+Other sink options (such as `bulk_size`, `split_mode`, `primary_key`, 
`support_upsert`,
+`schema_save_mode` or `data_save_mode`) are not part of its option rule and 
have no effect here.
+The plugin-specific options are:
+
+| Name                  | Type    | Required | Default                         
     | Description                                                              
                                                                                
                       |
+|-----------------------|---------|----------|--------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| clickhouse_local_path | String  | Yes      | -                               
     | Path of the `clickhouse-local` program used by the ClickhouseFile sink.  
                                                                                
                        |
+| copy_method           | Enum    | No       | scp                             
     | Method used to copy the generated part files to the ClickHouse server 
nodes. Supported values: `scp`, `rsync`.                                        
                            |
+| compatible_mode       | Boolean | No       | false                           
     | In lower ClickHouse versions the `clickhouse-local` program does not 
support the `--path` parameter; enable this mode to emulate the `--path` 
behavior in another way.             |
+| node_free_password    | Boolean | No       | false                           
     | Whether password-free login is configured between the SeaTunnel nodes 
and the ClickHouse server nodes. File transfer uses `scp`/`rsync`, so SeaTunnel 
needs access to the ClickHouse server nodes. Set this to `true` when 
password-free login is configured; otherwise configure the node passwords in 
`node_pass`. |
+| node_pass | Array | Yes | - | SSH entries for the shard nodes. Use the shard 
hostname reported by `system.clusters` as `node_address`. Each entry requires 
`node_address` and `password`. `username` defaults to `root`. With passwordless 
SSH as `root`, set `node_free_password = true` and `node_pass = []`. |
+| key_path              | String  | No       | -                               
     | Path of the `rsync`/`ssh` key file used by file transfer.                
                                                                                
                        |
+| file_fields_delimiter | String  | No       | `\t`                            
     | ClickhouseFile temporarily stores data in CSV format. If a row contains 
this delimiter the generated file may break; avoid it with this option. The 
value must be exactly one character. |
+| file_temp_path        | String  | No       | 
/tmp/seatunnel/clickhouse-local/file | Local directory where ClickhouseFile 
stores temporary files.                                                         
                                                            |
+
+### ClickhouseFile Sink Configuration Example
+
+Add this sink block to a job with your source. Use the hostname and SSH 
credentials for each shard in your cluster.
+
+```hocon
+sink {
+  ClickhouseFile {
+    host = "localhost:8123"
+    database = "default"
+    table = "seatunnel_table_dist"
+    username = "default"
+    password = ""
+    clickhouse_local_path = "/usr/local/clickhouse/clickhouse"
+    copy_method = "rsync"
+    node_pass = [
+      { node_address = "shard1.example.com", username = "ssh_user", password = 
"ssh_password" }
+    ]
+    file_temp_path = "/tmp/seatunnel/clickhouse-local/file"
+  }
+}
+```
+
 ## Example Configurations and Cases
 
 ### How to Create a Clickhouse Data Synchronization Jobs
diff --git a/docs/en/connectors/sink/Typesense.md 
b/docs/en/connectors/sink/Typesense.md
index 72aff0e2d0..4589475e4b 100644
--- a/docs/en/connectors/sink/Typesense.md
+++ b/docs/en/connectors/sink/Typesense.md
@@ -45,6 +45,10 @@ or more primary key fields.
 
 The access address for Typesense, formatted as `host:port`, e.g., 
`["typesense-01:8108"]`. When several nodes are configured, the sink keeps a 
single client per writer and does not balance writes across them.
 
+### protocol [string]
+
+The protocol used to connect to Typesense. The default value is `http`. Use 
`https` for Typesense Cloud.
+
 ### collection [string]
 
 The name of the collection to write to, e.g., `"seatunnel"`. In multi-table 
jobs, every table routes to the same configured collection; configure one sink 
block per target collection if different tables need different destinations.
diff --git a/docs/zh/connectors/formats/canal-json.md 
b/docs/zh/connectors/formats/canal-json.md
index 05121501d7..347e825cb4 100644
--- a/docs/zh/connectors/formats/canal-json.md
+++ b/docs/zh/connectors/formats/canal-json.md
@@ -26,6 +26,14 @@ SeaTunnel 还支持将 SeaTunnel 中的 INSERT/UPDATE/DELETE 消息编码为 Can
 
 > **注意:** 带前缀的 `canal_json.ignore-parse-errors`、`canal_json.database.include` 
 > 和 `canal_json.table.include` 不是有效的配置项,配置后不会生效。是否跳过无法解析的记录由各连接器自行决定(例如 Kafka 
 > 读取 Canal JSON 时始终跳过),format 模块的 `database.include`/`table.include` 
 > 过滤器目前也未接入任何连接器。
 
+:::warning
+
+在当前的 SeaTunnel 实现中,除 `format` 外的上述选项都不会从作业配置中读取。解析错误的行为由各个连接器自行决定:Kafka 和 
Pulsar
+source 在 `canal_json` 格式下始终跳过解析错误的行,Amazon SQS source 
则从不跳过。`canal_json.database.include` /
+`canal_json.table.include` 的过滤功能目前没有任何连接器实现。
+
+:::
+
 # 如何使用
 
 ## Kafka 使用示例
diff --git a/docs/zh/connectors/formats/debezium-json.md 
b/docs/zh/connectors/formats/debezium-json.md
index 538abbd31a..36fc24e8d9 100644
--- a/docs/zh/connectors/formats/debezium-json.md
+++ b/docs/zh/connectors/formats/debezium-json.md
@@ -28,6 +28,14 @@ SeaTunnel 还支持将 SeaTunnel 中的 INSERT/UPDATE/DELETE 消息解析为 Deb
 
 > **注意:** 带前缀的 `debezium-json.ignore-parse-errors` 
 > 不是有效的配置项,配置后不会生效。是否跳过无法解析的记录由各连接器自行决定(例如 Kafka 读取 Debezium JSON 时始终跳过)。
 
+:::warning
+
+在当前的 SeaTunnel 实现中,`debezium-json.ignore-parse-errors` 不会从作业配置中读取。Kafka source
+在 `debezium_json` 格式下遇到解析错误的行会直接跳过,而 Amazon SQS source 则会直接失败。Debezium 记录是否携带
+schema 由连接器自己的选项控制(例如 Kafka source 的 `debezium_record_include_schema`),而不是 
`debezium-json.*` 选项。
+
+:::
+
 # 如何使用
 
 ## Kafka 使用示例
diff --git a/docs/zh/connectors/formats/kafka-compatible-kafkaconnect-json.md 
b/docs/zh/connectors/formats/kafka-compatible-kafkaconnect-json.md
index c9032d4396..9e48e3447a 100644
--- a/docs/zh/connectors/formats/kafka-compatible-kafkaconnect-json.md
+++ b/docs/zh/connectors/formats/kafka-compatible-kafkaconnect-json.md
@@ -2,6 +2,14 @@
 
 Seatunnel 的 Kafka 连接器支持解析通过 Kafka Connect Source 抽取的数据,特别是从 Kafka Connect JDBC 
和 Kafka Connect Debezium 抽取的数据
 
+# 格式选项
+
+| 选项                             | 默认值    | 是否需要 | 描述                          
          |
+|--------------------------------|--------|------|------------------------------------------|
+| format                         | (none) | 是    | 指定要使用的格式,这里应该是 
`compatible_kafka_connect_json`。 |
+| key_converter_schema_enabled   | true   | 否    | Kafka Connect key converter 
生成的 JSON 载荷是否携带 schema。 |
+| value_converter_schema_enabled | true   | 否    | Kafka Connect value 
converter 生成的 JSON 载荷是否携带 schema。 |
+
 ## 限制
 
 更新消息必须包含完整行数据;仅包含变更字段的部分更新暂不支持。
diff --git a/docs/zh/connectors/formats/maxwell-json.md 
b/docs/zh/connectors/formats/maxwell-json.md
index d34914246c..32ebfef071 100644
--- a/docs/zh/connectors/formats/maxwell-json.md
+++ b/docs/zh/connectors/formats/maxwell-json.md
@@ -23,6 +23,13 @@ SeaTunnel 还支持将 SeaTunnel 中的 INSERT/UPDATE/DELETE 消息编码为 Max
 
 > **注意:** 带前缀的 
 > `maxwell_json.ignore-parse-errors`、`maxwell_json.database.include` 和 
 > `maxwell_json.table.include` 不是有效的配置项,配置后不会生效。是否跳过无法解析的记录由各连接器自行决定(例如 Kafka 
 > 读取 Maxwell JSON 时始终跳过),format 模块的 `database.include`/`table.include` 
 > 过滤器目前也未接入任何连接器。
 
+:::warning
+
+在当前的 SeaTunnel 实现中,除 `format` 外的上述选项都不会从作业配置中读取。目前只有 Kafka source 支持 
`maxwell_json` 格式,
+且它会始终跳过解析错误的行。`maxwell_json.database.include` / `maxwell_json.table.include` 
的过滤功能不会被应用。
+
+:::
+
 # 如何使用 Maxwell 格式
 
 ## Kafka 使用示例
diff --git a/docs/zh/connectors/formats/ogg-json.md 
b/docs/zh/connectors/formats/ogg-json.md
index 280790effd..d150ee108f 100644
--- a/docs/zh/connectors/formats/ogg-json.md
+++ b/docs/zh/connectors/formats/ogg-json.md
@@ -23,6 +23,13 @@ SeaTunnel 还支持将 SeaTunnel 中的 INSERT/UPDATE/DELETE 消息转化为 Ogg
 
 > **注意:** 带前缀的 `ogg_json.ignore-parse-errors`、`ogg_json.database.include` 和 
 > `ogg_json.table.include` 不是有效的配置项,配置后不会生效。是否跳过无法解析的记录由各连接器自行决定(例如 Kafka 读取 
 > Ogg JSON 时始终跳过),format 模块的 `database.include`/`table.include` 过滤器目前也未接入任何连接器。
 
+:::warning
+
+在当前的 SeaTunnel 实现中,除 `format` 外的上述选项都不会从作业配置中读取。目前只有 Kafka source 支持 
`ogg_json` 格式,且它会始终跳过解析错误的行。
+`ogg_json.database.include` / `ogg_json.table.include` 的过滤功能不会被应用。
+
+:::
+
 # 如何使用 Ogg 格式
 
 ## Kafka 使用示例
diff --git a/docs/zh/connectors/sink/Clickhouse.md 
b/docs/zh/connectors/sink/Clickhouse.md
index f7175ae3d3..b52e4757bf 100644
--- a/docs/zh/connectors/sink/Clickhouse.md
+++ b/docs/zh/connectors/sink/Clickhouse.md
@@ -196,6 +196,53 @@ sink {
 }
 ```
 
+## ClickhouseFile Sink
+
+除了上面的 `Clickhouse` sink 插件外,本连接器还提供 `ClickhouseFile` sink 插件(工厂标识符为
+`ClickhouseFile`)。它不通过 JDBC 逐行写入,而是把数据交给本地的 `clickhouse-local` 程序生成
+ClickHouse part 文件,再将生成的文件复制(`scp` 或 `rsync`)到目标 ClickHouse 服务节点并 attach 到
+目标表。对于大批量写入,这种方式通常比逐行插入快得多。
+
+`table` 必须指向已存在的 ClickHouse `Distributed` 表。写入前,Sink 会从该表的定义中读取集群和底层本地表。
+
+`ClickhouseFile` sink 只会读取上方 [Sink 选项](#sink-选项) 
中的这些选项:`host`、`database`、`table`、
+`username`、`password`、`clickhouse.config`、`sharding_key` 和 
`server_time_zone`。其他 sink 选项
+(如 
`bulk_size`、`split_mode`、`primary_key`、`support_upsert`、`schema_save_mode`、`data_save_mode`)
+不在其选项规则内,在此处不生效。该插件特有的选项如下:
+
+| 名称                  | 类型    | 是否必须 | 默认值                               | 描述  
                                                                                
        |
+|-----------------------|---------|------|--------------------------------------|-----------------------------------------------------------------------------------------------|
+| clickhouse_local_path | String  | 是   | -                                    
| ClickhouseFile sink 使用的 `clickhouse-local` 程序路径。                              
              |
+| copy_method           | Enum    | 否   | scp                                  
| 将生成的 part 文件复制到 ClickHouse 服务节点的方式,支持 `scp`、`rsync`。                          
    |
+| compatible_mode       | Boolean | 否   | false                                
| 低版本 ClickHouse 的 `clickhouse-local` 程序不支持 `--path` 参数,需要启用此模式用其他方式实现 `--path` 
的功能。 |
+| node_free_password    | Boolean | 否   | false                                
| SeaTunnel 节点与 ClickHouse 服务节点之间是否配置了免密登录。文件传输使用 `scp`/`rsync`,因此 SeaTunnel 
需要访问 ClickHouse 服务节点;已配置免密登录时设为 `true`,否则需在 `node_pass` 中配置对应节点的密码。 |
+| node_pass | Array | 是 | - | 分片节点的 SSH 配置。`node_address` 使用 `system.clusters` 
返回的分片主机名。每项都必须填写 `node_address` 和 `password`。`username` 默认为 `root`。使用 `root` 
免密登录时,设置 `node_free_password = true` 和 `node_pass = []`。 |
+| key_path              | String  | 否   | -                                    
| 文件传输使用的 `rsync`/`ssh` 密钥文件路径。                                                 
                |
+| file_fields_delimiter | String  | 否   | `\t`                                 
| ClickhouseFile 以 CSV 
格式临时保存数据。如果行数据中包含该分隔符,可能导致生成的文件异常,可通过该选项更换分隔符。值必须恰好为一个字符。 |
+| file_temp_path        | String  | 否   | /tmp/seatunnel/clickhouse-local/file 
| ClickhouseFile 本地临时文件目录。                                                      
                      |
+
+### ClickhouseFile Sink 配置示例
+
+将以下 Sink 配置与作业的 Source 一起使用。请填写集群各分片的主机名和 SSH 凭据。
+
+```hocon
+sink {
+  ClickhouseFile {
+    host = "localhost:8123"
+    database = "default"
+    table = "seatunnel_table_dist"
+    username = "default"
+    password = ""
+    clickhouse_local_path = "/usr/local/clickhouse/clickhouse"
+    copy_method = "rsync"
+    node_pass = [
+      { node_address = "shard1.example.com", username = "ssh_user", password = 
"ssh_password" }
+    ]
+    file_temp_path = "/tmp/seatunnel/clickhouse-local/file"
+  }
+}
+```
+
 ## 示例配置与案例
 
 ### 如何创建一个clickhouse 同步任务
diff --git a/docs/zh/connectors/sink/Typesense.md 
b/docs/zh/connectors/sink/Typesense.md
index 8884c9fe88..cc20c59feb 100644
--- a/docs/zh/connectors/sink/Typesense.md
+++ b/docs/zh/connectors/sink/Typesense.md
@@ -44,6 +44,10 @@ import ChangeLog from '../changelog/connector-typesense.md';
 
 Typesense 的访问地址,格式为 `host:port`,例如:`["typesense-01:8108"]`。配置多个节点时,每个 Writer 
只持有一个客户端,不会把写入请求在节点之间负载均衡。
 
+### protocol [string]
+
+连接 Typesense 使用的协议。默认值为 `http`,Typesense Cloud 请使用 `https`。
+
 ### collection [string]
 
 要写入的 collection 名,例如:`seatunnel`。在多表作业中,所有表都会路由到同一个 
collection;如果不同表要写入不同目标,请为每个目标 collection 单独配置一个 sink 块。

Reply via email to