It may be better to accept whole [MongoURI](https://docs.mongodb.com/manual/reference/connection-string/) as config instead of breaking it down. That would allow configuring lots of other setting in same uri. Otherwise you would need to later add support for various settings as defined by [MongoClientOptions][2]
[2]: http://mongodb.github.io/mongo-java-driver/3.4/javadoc/com/mongodb/MongoClientOptions.html [ Full content available at: https://github.com/apache/incubator-openwhisk/pull/3570 ] This message was relayed via gitbox.apache.org for [email protected]
