sync data from elasticsearch to mongodb code example
Example: Different ways to synchronize data from MongoDB to ElasticSearch
mongo-connector -m "mongodb://<mongoset1>:27017,<mongoset2>:27018,<mongoset3>:27019/<your db>?replicaSet=your-replicaset-name" -c ./mongoconnector.json