目前mysql與elasticsearch經(jīng)常使用的同步機(jī)制大多是基于插件實(shí)現(xiàn)的,經(jīng)常使用的插件包括:elasticsearch-jdbc, elasticsearch-river-MySQL , go-mysql-elasticsearch, logstash-input-jdbc。
本文對(duì)4種插件的優(yōu)缺點(diǎn)進(jìn)行了圖表對(duì)照。
|序號(hào) | 插件名稱(chēng) |地址 |
——:———————— :————————————————-
| 1 | elasticsearch-jdbc | https://github.com/jprante/elasticsearch-jdbc |
——:———————— :————————————————-
| 2 | elasticsearch-river-MySQL | https://github.com/scharron/elasticsearch-|river-mysql |
——:———————— :————————————————-
| 3 | go-mysql-elasticsearch
(國(guó)內(nèi)作者siddontang) https://github.com/siddontang/go-mysql-|elasticsearch |
——:———————— :————————————————-
| 4 | logstash-input-jdbc https://github.com/logstash-plugins/logstash-|input-jdbc |
——:———————— :————————————————-
嚴(yán)格意義上elasticsearch-jdbc已不是第3方插件,已成為獨(dú)立的第3方工具。
作者:銘毅天下
轉(zhuǎn)載請(qǐng)標(biāo)明出處,原文地址:http://blog.csdn.net/laoyang360/article/details/51771621
如果感覺(jué)本文對(duì)您有幫助,請(qǐng)點(diǎn)擊‘頂’支持1下,您的支持是我堅(jiān)持寫(xiě)作最大的動(dòng)力,謝謝!