Open yanyan33333 opened 9 years ago
The log will output to console default, can you give me more information?
Can you show me your config? What is for got nothing?
My config my_addr = "127.0.0.1:3306" my_user = "xxx" my_pass = "xxx" es_addr = "127.0.0.1:9200" data_dir = "./var" stat_addr = "127.0.0.1:12800" server_id = 1001 flavor = "mysql" mysqldump = "/usr/bin/mysqldump" [[source]] schema = "xxx" tables = ["wp_posts", "wp_postmeta", "wp_termmeta", "wp_terms"] [[rule]] schema = "xxxxx" table = "wp_posts" index = "river" type = "river" [rule.field] title = "posts"
when I run ./bin/go-mysql-elasticsearch --config=./etc/river.toml nothing show on console and it exits immediately
Please recheck the source, build and try again @yanyan33333
Please recheck the source, build and try again @yanyan33333 您好 我看了一下console的日志 是打印出来binlog以及postion的 如下
[2019/04/16 12:06:47] [info] master.go:54 save position (mysql-bin.003190, 575975) [2019/04/16 12:06:54] [info] master.go:54 save position (mysql-bin.003190, 576332) [2019/04/16 12:07:04] [info] master.go:54 save position (mysql-bin.003190, 577949) [2019/04/16 12:07:19] [info] master.go:54 save position (mysql-bin.003190, 578502)
但是如果我想要类似canal里面那种 解析成功binlog并且执行语句的日志 比如说源表有个变更然后成功执行到es的index里
after setting ./etc/river.toml ./bin/go-mysql-elasticsearch -config=./etc/river.toml but I got noting and nothing report to ES, Can you print some error log?