Skip to content

Commit

Permalink
Add cdc redo configuration (pingcap#15614)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdojjy authored Dec 8, 2023
1 parent 75cbc8f commit 7935345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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

0 comments on commit 7935345

Please sign in to comment.