我遇到问题,如果在Mysql中有任何更新,Elasticsearch-jdbc河流数据会自动更新。这是我的弹性代码
{
"type" : "jdbc",
"jdbc": {
"driver" : "com.mysql.jdbc.Driver",
"url" : "jdbc:mysql://localhost:3306/Dbname",
"user" : "user",
"password" : "password",
"sql": "select id, firstname, lastname from mytable",
"poll" : "6s",
"strategy": "simple",
"scale": 0,
"autocommit": true,
"bulk_size": 5000,
"max_bulk_requests": 30,
"bulk_flush_interval": "5s",
"fetchsize": 100,
"max_rows": 149669,
"max_retries": 3,
"max_retries_wait": "10s",
"locale": "in",
"digesting": true
}
}
当我插入新行或更新任何数据时,它不会反映在弹性中。它始终显示第一次索引数据。我的结局是否有任何遗漏。请告知。
由于