-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ticdc: add scale out for kafka changefeed #12693
Merged
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
492b8d7
ticdc: add scale out for kafka changefeed
overvenus 19c3a56
break lines
overvenus cf745f8
increase head
overvenus 1f4dd48
typo
overvenus 701403b
Apply suggestions from code review
overvenus 19bb1c1
Update ticdc/ticdc-sink-to-kafka.md
overvenus 1700fa1
Update ticdc/ticdc-sink-to-kafka.md
overvenus a63df6a
Apply suggestions from code review
overvenus 6c48ebf
Apply suggestions from code review
overvenus bc59044
Apply suggestions from code review
overvenus 3f676c2
Update ticdc/ticdc-sink-to-kafka.md
overvenus 28fc122
Update ticdc/ticdc-sink-to-kafka.md
overvenus 1d6b43d
address comments
overvenus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,3 +233,23 @@ partition 分发器用 partition = "xxx" 来指定,支持 default、ts、index | |
> ``` | ||
> {matcher = ['*.*'], dispatcher = "ts", partition = "table"}, | ||
> ``` | ||
|
||
## 将大单表的同步负载水平扩展到多个 TiCDC 节点上 | ||
overvenus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
该功能可以解决以下两个问题: | ||
shichun-0415 marked this conversation as resolved.
Show resolved
Hide resolved
overvenus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- 单个 TiCDC 节点不能及时同步大单表的问题 | ||
- TiCDC 节点之间资源(CPU、内存等)消耗不均匀的问题。 | ||
overvenus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
overvenus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
该功能通过将大单表按 Region 个数切分成多个数据范围,将这些数据范围分布到多个 TiCDC 节点上,使得多个 TiCDC 节点可以同时同步大单表。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 使得多个 TiCDC 节点可以同时同步大单表。-> 使得多个 TiCDC 节点,可以同时单张表的数据,在处理大单表场景时,可以提升大单表的同步吞吐量。
overvenus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
配置样例如下所示: | ||
|
||
```toml | ||
[scheduler] | ||
region-per-span = 50000 | ||
``` | ||
|
||
> **注意:** | ||
> | ||
> TiCDC v6.6.0 仅支持在 Kafka 同步任务上开启大单表的水平扩展功能。 | ||
overvenus marked this conversation as resolved.
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
横向扩展大单表的负载到多个 TiCDC 节点
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
水平 -> 横向