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.


---

Reply via email to