当前位置:网站首页>我想请教下各位大佬,cdc采集mysql时,如果发生了主从切换,有什么方案可以处理吗
我想请教下各位大佬,cdc采集mysql时,如果发生了主从切换,有什么方案可以处理吗
2022-07-28 10:59:00 【阿里云问答】
我想请教下各位大佬,cdc采集mysql时,如果发生了主从切换,有什么方案可以处理吗
采纳答案1:
有一个方案,你可以参考一下,发生主从切换后,获取上次的成功的写入的 gtid ,然后再新的主库中找到这个 gtid 启动。(此答案整理自Flink CDC 社区)
边栏推荐
- Flutter tutorial flutter navigator 2.0 with gorouter, use go_ Router package learn about the declarative routing mechanism in fluent (tutorial includes source code)
- 构建快捷开发IDE:VisualSVN+Sublime+Visual Studio 2013+QuickEasyFTPServer
- Thinkphp5行为钩子Hook返回结果(数据)示例
- The solution of PHP sending mobile MAS SMS garbled code
- Related concepts of several databases
- 用c语言编写学生成绩管理系统(c语言学生成绩管理系统删除)
- 好用到爆!IDEA 版 Postman 面世了,功能真心强大
- Learning notes tree array
- leetcode:1300. 转变数组后最接近目标值的数组和【二分】
- postgres概述
猜你喜欢
随机推荐
Thinkphp5 behavior hook return result (data) example
【cesium】entity属性和时许绑定:SampledProperty方法简单使用
本地化、低时延、绿色低碳:阿里云正式启用福州数据中心
The use of C language linked list
RHEL 6.4 安装svn和apache
「Node学习笔记」Koa框架学习
Flutter tutorial flutter navigator 2.0 with gorouter, use go_ Router package learn about the declarative routing mechanism in fluent (tutorial includes source code)
go status.go 状态码定义
Software designers ask 20 questions before the exam, pay attention!!
Explanation of JDBC classes
go status. Go status code definition
【C语言】的%*d、%.*s等详解:「建议收藏」
WinForm generates random verification code
The solution of PHP sending mobile MAS SMS garbled code
Rongyun IM & RTC capabilities on new sites
Encryption defect of icloud Keychain in Apple mobile phone
outlook突然变得很慢很卡怎么解决
什么是WordPress
服务器在线测速系统源码
[half understood] zero value copy









