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
表中的數據。