开发者社区> 问答> 正文

canal 支持 polardb 么?

环境信息

canal version 1.1.2

问题描述

2019-01-12 11:10:18.608 [destination = example , address = .mysql.polardb.rds.aliyuncs.com/...:3306 , EventParser] WARN c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - ---> begin to find start position, it will be long time for reset or first position 2019-01-12 11:10:18.609 [destination = example , address = .mysql.polardb.rds.aliyuncs.com/...:3306 , EventParser] WARN c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - prepare to find start position just show master status 2019-01-12 11:10:18.619 [destination = example , address = .mysql.polardb.rds.aliyuncs.com/...:3306 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address .mysql.polardb.rds.aliyuncs.com/...:3306 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: command : 'show master status' has an error! pls check. you need (at least one of) the SUPER,REPLICATION CLIENT privilege(s) for this operation 2019-01-12 11:10:18.620 [destination = example , address = *.mysql.polardb.rds.aliyuncs.com/47.102.28.7:3306 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:example[com.alibaba.otter.canal.parse.exception.CanalParseException: command : 'show master status' has an error! pls check. you need (at least one of) the SUPER,REPLICATION CLIENT privilege(s) for this operation

步骤重现

show master status is empty

原提问者GitHub用户SmileTower

展开
收起
古拉古拉 2023-05-08 15:15:40 246 0
2 条回答
写回答
取消 提交回答
  • 需要porlarDb开启binlog支持

    原回答者GitHub用户agapple

    2023-05-09 18:08:14
    赞同 展开评论 打赏
  • 正在为您搜索:canal、polardb

    根据您提供的信息,您使用的是 Canal 版本为 1.1.2。根据我所了解到的情况,Canal 可以支持 Polardb。

    首先需要说明的是,Polardb 是由阿里云推出的一款云原生分布式关系型数据库,兼容 MySQL、PostgreSQL 和 Oracle。而 Canal 是一种开源的数据库同步工具,可以将 MySQL 或 Oracle 数据库中的数据实时同步到消息队列(如 Kafka)或 NoSQL 中(如 Elasticsearch)。Canal 目前已经支持了大部分主流的关系型数据库,包括 MySQL、Oracle、SQLServer 等。

    在 Canal 的官方文档中,并没有明确提到 Polardb 是否可以作为数据源。不过,从 Polardb 与 Canal 支持的数据库种类以及 Canal 的工作原理来看,Polardb 理论上应该也是可以与 Canal 进行集成的。具体的集成步骤和配置方法,可以参考 Canal 官方文档中的说明,或者阅读相关的开源项目。此外,如果您在使用 Canal 过程中遇到了问题,也可以在 Canal 的 GitHub 仓库中提出 issue 寻求帮助。

    综上所述,Canal 理论上是可以支持 Polardb 的,但是具体的集成方法需要您自己进行进一步的探索和实践。

    2023-05-08 15:59:40
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖大会:开源 PolarDB 架构演进、关键技术与社区建设 立即下载
2023云栖大会:和客户一起玩转PolarDB新特性 立即下载
2023云栖大会:PolarDB for AI 立即下载