canal如何设置bin-log

https://mp.weixin.qq.com/s/sInoVBsSuKmToriSSfsGxg

前提条件:这是canal的一个新实例,从未启动过。

在/conf/example/instance.properties文件中的position info处设置。

填入文件中

时间戳可以不用设置

另外一种情况是,此实例不是新实例,上面这种方式就不起作用了,需要修改文件

/conf/example/meta.dat

仍然是使用上面的方式将bin-log对应的文件和位移查出来

猜你喜欢

转载自blog.csdn.net/weixin_39394909/article/details/107171109