Description
2016/12/12 16:33:39 binlogsyncer.go:71: [info] create BinlogSyncer with config &{100 mysql 10.8.6.182 3306 root passwd false false}
2016/12/12 16:33:39 dump.go:96: [info] skip dump, use last binlog replication pos (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 sync.go:17: [info] start sync binlog at (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 binlogsyncer.go:226: [info] begin to sync binlog from position (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 binlogsyncer.go:130: [info] register slave for master server 10.8.6.182:3306
2016/12/12 16:33:39 status.go:52: [info] run status http server 10.8.6.170:12800
2016/12/12 16:33:39 binlogsyncer.go:552: [info] rotate to (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 sync.go:53: [info] rotate binlog to (mysql-bin.000001, 30940085)
2016/12/12 16:34:52 sync.go:327: [error] sync docs err Post http://10.8.6.170:9200/_bulk: dial tcp 10.8.6.170:9200: connect: cannot assign requested address after binlog (mysql-bin.000001, 40298382)
2016/12/12 16:34:52 sync.go:54: [error] do ES bulks err Post http://10.8.6.170:9200/_bulk: dial tcp 10.8.6.170:9200: connect: cannot assign requested address, stop
2016/12/12 16:34:52 handler.go:35: [error] handle ESRiverRowsEventHandler err, interrupted
2016/12/12 16:34:52 sync.go:57: [error] handle rows event error do handler error, interrupted
2016/12/12 16:34:52 canal.go:151: [error] canal start sync binlog err: do handler error, interrupted
直接通过ES的restful接口做bulk操作测试,只要保证每个item都有'\n'即可成功。 但是目前却无法同步mysql的binlog数据了。