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.1.3] Add cdc redo configuration (#15619) #15628

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
15 changes: 15 additions & 0 deletions ticdc/ticdc-changefeed-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,21 @@ storage = ""
# Specifies whether to store the redo log in a file.
# The default value is false.
use-file-backend = false
<<<<<<< HEAD
=======
# The number of encoding and decoding workers in the redo module.
# The default value is 16.
encoding-worker-num = 16
# The number of flushing workers in the redo module.
# The default value is 8.
flush-worker-num = 8
# The behavior to compress redo log files.
# Available options are "" and "lz4". The default value is "", which means no compression.
compression = ""
# The concurrency for uploading a single redo file.
# The default value is 1, which means concurrency is disabled.
flush-concurrency = 1
>>>>>>> 12e084fe18 (Add cdc redo configuration (#15619))

[integrity]
# Whether to enable the checksum validation for single-row data. The default value is "none", which means to disable the feature. Value options are "none" and "correctness".
Expand Down
8 changes: 8 additions & 0 deletions ticdc/ticdc-open-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,14 @@ The `consistent` parameters are described as follows:
| `level` | `STRING` type. The consistency level of the replicated data. (Optional) |
| `max_log_size` | `UINT64` type. The maximum value of redo log. (Optional) |
| `storage` | `STRING` type. The destination address of the storage. (Optional) |
<<<<<<< HEAD
=======
| `use_file_backend` | `BOOL` type. Specifies whether to store the redo log in a local file. (Optional) |
| `encoding_worker_num` | `INT` type. The number of encoding and decoding workers in the redo module. (Optional) |
| `flush_worker_num` | `INT` type. The number of flushing workers in the redo module. (Optional) |
| `compression` | `STRING` type. The behavior to compress redo log files. Available options are `""` and `"lz4"`. The default value is `""`, which means no compression. (Optional) |
| `flush_concurrency` | `INT` type. The concurrency for uploading a single file. The default value is `1`, which means concurrency is disabled. (Optional) |
>>>>>>> 12e084fe18 (Add cdc redo configuration (#15619))

The `filter` parameters are described as follows:

Expand Down