richardwilly98/elasticsearch-river-mongodb — pull request #382 by ankon (2014-11-06 18:26:22+00:00)
Title: Mongo client service

Move the management of the MongoClient instances into a per-node service, rather than having each river manage its own instance.

This avoids using too many connections with hundreds of rivers.

See also https://github.com/richardwilly98/elasticsearch-river-mongodb/pull/371#issuecomment-62022068 for a more detailed rationale.