mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Compare commits
1 Commits
bugfix_end
...
revert-252
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21e9b325b1 |
@@ -84,7 +84,6 @@ canal 特别设计了 client-server 模式,交互协议使用 protobuf 3.0 , c
|
||||
- canal go客户端: [https://github.com/CanalClient/canal-go](https://github.com/CanalClient/canal-go)
|
||||
- canal php客户端: [https://github.com/xingwenge/canal-php](https://github.com/xingwenge/canal-php)
|
||||
- canal Python客户端:[https://github.com/haozi3156666/canal-python](https://github.com/haozi3156666/canal-python)
|
||||
- canal Rust客户端:[https://github.com/laohanlinux/canal-rs](https://github.com/laohanlinux/canal-rs)
|
||||
|
||||
canal 作为 MySQL binlog 增量获取和解析工具,可将变更记录投递到 MQ 系统中,比如 Kafka/RocketMQ,可以借助于 MQ 的多语言能力
|
||||
|
||||
|
||||
@@ -934,7 +934,4 @@ public class MysqlEventParser extends AbstractMysqlEventParser implements CanalE
|
||||
this.rdsOssMode = rdsOssMode;
|
||||
}
|
||||
|
||||
public void setDumpErrorCount(int dumpErrorCount) {
|
||||
this.dumpErrorCount = dumpErrorCount;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,11 +12,11 @@ import com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser;
|
||||
|
||||
/**
|
||||
* aliyun rds的binlog parser支持
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
* 注意点:aliyun的binlog会有定期清理并备份到oss上, 这里实现了一份自动下载oss+rds binlog的机制
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* @author chengjin.lyf on 2018/7/20 上午10:52
|
||||
* @since 1.0.25
|
||||
*/
|
||||
@@ -88,9 +88,6 @@ public class RdsBinlogEventParserProxy extends MysqlEventParser {
|
||||
@Override
|
||||
public void run() {
|
||||
rdsLocalBinlogEventParser.stop();
|
||||
// empty the dump error count,or will go into local binlog mode again,with error
|
||||
// position,never get out,fixed by bucketli
|
||||
RdsBinlogEventParserProxy.this.setDumpErrorCount(0);
|
||||
RdsBinlogEventParserProxy.this.start();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user