This is an automated email from the ASF dual-hosted git repository.
corgy pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 97250df3b0 [Improve][Docs][Connector-V2] Add missing description for
specific startup mode in MySQL CDC (#10265)
97250df3b0 is described below
commit 97250df3b0e628ccccfa01220308fc0fcc262bc2
Author: Jast <[email protected]>
AuthorDate: Wed Jan 7 12:25:22 2026 +0800
[Improve][Docs][Connector-V2] Add missing description for specific startup
mode in MySQL CDC (#10265)
---
docs/zh/connector-v2/source/MySQL-CDC.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/zh/connector-v2/source/MySQL-CDC.md
b/docs/zh/connector-v2/source/MySQL-CDC.md
index d1911f84d3..dd0c776f92 100644
--- a/docs/zh/connector-v2/source/MySQL-CDC.md
+++ b/docs/zh/connector-v2/source/MySQL-CDC.md
@@ -192,7 +192,7 @@ show variables where variable_name in ('log_bin',
'binlog_format', 'binlog_row_i
| table-names | List | 是 | - |
要监控的表名. 表名需要包括库名, 例如: `database_name.table_name`
|
| table-pattern | String | 是 | - |
要捕获的表名称的正则表达式. 表名需要包括库名, 例如: `database.*\\.table_.*`
|
| table-names-config | List | 否 | - |
表配置的列表集合. 例如: [{"table": "db1.schema1.table1","primaryKeys":
["key1"],"snapshotSplitColumn": "key2"}]
|
-| startup.mode | Enum | 否 | INITIAL |
MySQL CDC 消费者的可选启动模式, 有效枚举值为 `initial`, `earliest`, `latest` , `specific` 和
`timestamp`. <br/> `initial`: 启动时同步历史数据, 然后同步增量数据.<br/> `earliest`:
从尽可能最早的偏移量开始启动.<br/> `latest`: 从最近的偏移量启动.<br/> `timestamp`: 从用户提供的特定时间戳开始启动.
|
+| startup.mode | Enum | 否 | INITIAL |
MySQL CDC 消费者的可选启动模式, 有效枚举值为 `initial`, `earliest`, `latest` , `specific` 和
`timestamp`. <br/> `initial`: 启动时同步历史数据, 然后同步增量数据.<br/> `earliest`:
从尽可能最早的偏移量开始启动.<br/> `latest`: 从最近的偏移量启动.<br/> `specific`:
从用户提供的特定偏移量开始启动.<br/> `timestamp`: 从用户提供的特定时间戳开始启动. |
| startup.specific-offset.file | String | 否 | - |
从指定的binlog日志文件名开始. **注意, 当使用 `startup.mode` 选项为 `specific` 时,此选项为必填项.**
|
| startup.specific-offset.pos | Long | 否 | - |
从指定的binlog日志文件位置开始. **注意, 当使用 `startup.mode` 选项为 `specific` 时,此选项为必填项.**
|
| startup.timestamp | Long | No | - |
从指定的binlog时间戳文件位置开始. **注意, 当使用 `startup.mode` 选项为 `timestamp` 时,此选项为必填项.**
|