Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#15619
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <[email protected]>
  • Loading branch information
sdojjy authored and ti-chi-bot committed Dec 8, 2023
1 parent 9f91430 commit 41baea1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
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

0 comments on commit 41baea1

Please sign in to comment.