Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.5.1: Add cdc redo configuration (#15614) #15625

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ticdc/ticdc-changefeed-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ encoding-worker-num = 16
flush-worker-num = 8
# redo log 文件的压缩行为,可选值为 "" 和 "lz4"。默认值为 "",表示不进行压缩。
compression = ""
# redo log 上传单个文件的并发数,默认值为 1,表示禁用并发。
flush-concurrency = 1

[integrity]
# 是否开启单行数据的 Checksum 校验功能,默认值为 "none",即不开启。可选值为 "none" 和 "correctness"。
Expand Down
2 changes: 2 additions & 0 deletions ticdc/ticdc-open-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ curl -X GET http://127.0.0.1:8300/api/v2/health
| `use_file_backend` | `BOOL` 类型,是否将 redo log 存储到本地文件中。(非必选) |
| `encoding_worker_num` | `INT` 类型,redo 模块中编解码 worker 的数量。(非必选)|
|`flush_worker_num` | `INT` 类型,redo 模块中上传文件 worker 的数量。(非必选) |
| `compression` | `STRING` 类型,redo 文件的压缩行为,可选值为 `""` 和 `"lz4"`。默认值为 `""`,表示不进行压缩。(非必选) |
| `flush_concurrency` | `INT` 类型,redo log 上传单个文件的并发数,默认值为 1,表示禁用并发。(非必选) |

`filter` 参数说明如下:

Expand Down
Loading