Skip to content

Commit

Permalink
Add cdc redo configuration (#15619) (#15627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 8, 2023
1 parent 652d694 commit 19b6941
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ticdc/ticdc-changefeed-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ 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
# The following configuration items only take effect when the downstream is Kafka. Supported starting from v6.5.3.
[sink.kafka-config]
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 @@ -292,6 +292,8 @@ The `consistent` parameters are described as follows:
| `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) |

The `filter` parameters are described as follows:

Expand Down
2 changes: 1 addition & 1 deletion ticdc/ticdc-sink-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ The following are examples when using Kafka SASL authentication:

The minimum set of permissions required for TiCDC to function properly is as follows.

- The `Create` and `Write` permissions for the Topic [resource type](https://docs.confluent.io/platform/current/kafka/authorization.html#resources).
- The `Create`, `Write`, and `Describe` permissions for the Topic [resource type](https://docs.confluent.io/platform/current/kafka/authorization.html#resources).
- The `DescribeConfigs` permission for the Cluster resource type.

### Integrate TiCDC with Kafka Connect (Confluent Platform)
Expand Down

0 comments on commit 19b6941

Please sign in to comment.