-
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
Conversation
Signed-off-by: Neil Shen <overvenus@gmail.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@overvenus Could you please invite a tech reviewer? Thanks! |
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.
Rest LGTM
@3AceShowHand PTAL |
ticdc/ticdc-sink-to-kafka.md
Outdated
@@ -233,3 +233,20 @@ partition 分发器用 partition = "xxx" 来指定,支持 default、ts、index | |||
> ``` | |||
> {matcher = ['*.*'], dispatcher = "ts", partition = "table"}, | |||
> ``` | |||
|
|||
## 将大单表的同步负载水平扩展到多个 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.
横向扩展大单表的负载到多个 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.
水平 -> 横向
ticdc/ticdc-sink-to-kafka.md
Outdated
|
||
## 将大单表的同步负载水平扩展到多个 TiCDC 节点上 | ||
|
||
该功能可以解决单个 TiCDC 节点不能及时同步大单表的问题和 TiCDC 节点之间资源(CPU,内存等)消耗出现倾斜的问题。 |
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/ticdc-sink-to-kafka.md
Outdated
|
||
## 将大单表的同步负载水平扩展到多个 TiCDC 节点上 | ||
|
||
该功能可以解决单个 TiCDC 节点不能及时同步大单表的问题和 TiCDC 节点之间资源(CPU,内存等)消耗出现倾斜的问题。 |
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.
这句话包含了两个场景,建议两个场景用子弹列表分开描述。
Co-authored-by: Aolin <aolinz@outlook.com>
ticdc/ticdc-sink-to-kafka.md
Outdated
- 单个 TiCDC 节点不能及时同步大单表的问题 | ||
- TiCDC 节点之间资源(CPU、内存等)消耗不均匀的问题。 | ||
|
||
该功能通过将大单表按 Region 个数切分成多个数据范围,将这些数据范围分布到多个 TiCDC 节点上,使得多个 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.
使得多个 TiCDC 节点可以同时同步大单表。-> 使得多个 TiCDC 节点,可以同时单张表的数据,在处理大单表场景时,可以提升大单表的同步吞吐量。
/status LGT1 |
Co-authored-by: Aolin <aolinz@outlook.com>
Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Co-authored-by: Aolin <aolinz@outlook.com>
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.
Rest LGTM
@overvenus 是否需要在 TiCDC Changefeed 相关的配置项说明文档中添加 region-per-span 的说明? https://docs.pingcap.com/zh/tidb/stable/ticdc-changefeed-config |
Co-authored-by: Aolin <aolinz@outlook.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
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.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 1d6b43d
|
First-time contributors' checklist
What is changed, added or deleted? (Required)
Add doc about scale out feature for kafka changefeed.
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?