drainer数据同步

drainer启动日志报错误:

2018/07/18 10:59:47 pump.go:433: [info] [pump tidb-tidb:8250] consume from topic 6574676135577333391_tidb-tidb_8250 partition 0 offset 15194
2018/07/18 10:59:47 pump.go:436: [warning] [pump tidb-tidb:8250] get consumer partition client error kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition.

原因:

主要还是跟 gc 有关,那个 offset 没数据了

解决方法一:

删除或者修改下游Mysql中的tidb_binlog库下面的checkpoint表中的数据。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。