You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by MikeThomsen <gi...@git.apache.org> on 2018/08/31 20:00:40 UTC

[GitHub] nifi issue #2896: NIFI-5239 Made a client service an optional source of conn...

Github user MikeThomsen commented on the issue:

    https://github.com/apache/nifi/pull/2896
  
    @zenfenan @mattyb149 can one of you review?
    
    The goal here, btw, is to make it so that admins are able to easily share a `MongoClient` between multiple processors. Per the [docs](http://mongodb.github.io/mongo-java-driver/3.5/driver/getting-started/quick-start/#make-a-connection) `MongoClient` is thread-safe and you should limit how many of them your application creates:
    
    > The MongoClient instance represents a pool of connections to the database; you will only need one instance of class MongoClient even with multiple threads.


---