Linux installation Elasticsearch and MongoDB distributed cluster environment data synchronization

Source: Internet
Author: User
Tags git clone

Elasticsearch has a plug-in module called River that can import data from an external data source into a elasticsearch and index it. The river is a singleton pattern on the cluster, it is automatically assigned to a node, and when the node is hung, the river is automatically assigned to another node. Currently supported data sources include: Wikipedia, MongoDB, CouchDB, RabbitMQ, RSS, Sofa, JDBC, Filesystem,dropbox, etc. River has a number of specified specifications that can be used to develop plug-ins suitable for their own application data.

1, the installation of MongoDB River:https://github.com/richardwilly98/elasticsearch-river-mongodb, http://blog.csdn.net/huwei2003 /article/details/40407555

git clone https://github.com/richardwilly98/elasticsearch-river-mongodb.gitCD elasticsearch-river-MongoDB
git tag
git checkout elasticsearch-river-mongodb-2.0.5
MVN CLEANMVN COMPILEMVN Package

Vim install-local.sh --Change the plugin--remove to plugin remove; Comment out the last line of the sudo command because there is no URL parameter for the plugin command.
./install-local.sh
CD target/releases/

Linux installation Elasticsearch and MongoDB distributed cluster environment data synchronization

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.