richardwilly98 / elasticsearch-river-mongodb

MongoDB River Plugin for ElasticSearch
1.12k stars 215 forks source link

Can we start multi river-mongodb at the same node? #544

Open nai0om opened 9 years ago

nai0om commented 9 years ago

I found that in one node we cannot start river-mongodb in same time I need to wait one finish of starting import process and then I can start another river.

If I start another river before it finished it show this log and stop doing any thing: [2015-07-05 23:11:42,527][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] River xxx startup pending [2015-07-05 23:11:42,531][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] Starting river xxx [2015-07-05 23:11:42,531][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB options: secondaryreadpreference [false], drop_collection [false], include_collection [], throttlesize [50000], gridfs [false], filter [null], db [xxx], collection [xxxx], script [null], indexing to [xxx]/[xxxxx]

Thanks