TiCDC 术语表 | TiDB 文档中心
看官方文档里有capture、 Processor、changefeed这几个关键字,按照术语表里的描述:
Capture是指CDC节点,changefeed和 Processor是什么关系?changefeed下面又分了多个 Processor?
[root@euler01 v6.5.12]# ./cdc cli --help
Manage replication task and TiCDC cluster
Usage:
cdc cli [command]
Available Commands:
capture Manage capture (capture is a CDC server instance)
changefeed Manage changefeed (changefeed is a replication task)
processor Manage processor (processor is a sub replication task running on a specified capture)
tso Manage tso
1 个赞
乾坤大挪移
(Ti D Ber A8r Uup Mr)
2026 年3 月 20 日 01:05
4
ticdc是从wal里取数据,不是binlog里取吧
1 个赞
乾坤大挪移
(Ti D Ber A8r Uup Mr)
2026 年3 月 20 日 01:09
5
假设你有一个 changefeed,要同步 100 张表:
TiCDC 集群里有 3 个 capture
TiCDC 调度器会把这 100 张表分配到这 3 个 capture 上
那么这个 同一个 changefeed,在 3 个 capture 上通常都会各有一个 processor
每个 processor 负责其中一部分表
例如:
capture-1 上的 processor 负责 40 张表
capture-2 上的 processor 负责 35 张表
capture-3 上的 processor 负责 25 张表
因此:
changefeed 是任务整体
processor 是任务在某个 capture 上的局部实例
capture 是承载 processor 的 TiCDC 节点
2 个赞
是的,完全正确。changefeed只是个逻辑概念,开始我一直以为是什么进程或线程的东西。
system
(system)
关闭
2026 年3 月 28 日 03:03
10
此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。