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表中的数据。

你可能感兴趣的:(drainer数据同步)