美文网首页
drainer数据同步

drainer数据同步

作者: Fonzie | 来源:发表于2018-07-18 20:04 被阅读133次

    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数据同步

          本文链接:https://www.haomeiwen.com/subject/zdhopftx.html