debezium源码之启动快照7步曲
代码位置:io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(ChangeEventSourceContext, O, SnapshotContext<P, O>, SnapshottingTask)step3 锁定表,锁定表有两个目的,确保快照数据对应的当前schema的一致性(step 5),快照数据完成后转为实时数据的日志位置(step 4)step7 准备/跳过快照数据, 快照数据读取结果对应数据op为r。
原创
2024-02-22 10:28:44 ·
577 阅读 ·
0 评论