ElasticSearch and MongoDB sync tools base in netcore2
Chinese Documentation - 中文文档
Supports one-to-one, one-to-many, many-to-one, and many-to-many relationships.
- one-to-one - one mongodb collection to one elasticsearch index
- one-to-many - one mongodb collection to many elasticsearch indexs
- many-to-one - many mongodb collections to one elasticsearch index
- many-to-many - many mongodb collections to many elasticsearch indexs
elasticsearch:v6.1.2
mongodb: v3.4.9
netcore: v2.1.101
Mongo2Es keeps your mongoDB collections and elastic search cluster in sync. It does so by tailing the mongo oplog and replicate whatever crud operation into elastic search cluster without any overhead. Please note that a replica set is needed for the Mongo2Es to tail mongoDB.
Download from GitHub
cd src/Mongo2Es
dotnet publish --framework netcoreapp2.0 -o ./published
dotnet Mongo2Es.dll --bindip {bindip for web manage} --mongo {mongourl for config}
- webManage
- processing
- mongodbData
- elasticsearch
The MIT License (MIT). Please see LICENSE for more information.