-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update mongo sink adding ssl options #2386
Conversation
} | ||
} else { | ||
client = new MongoClient(servers); | ||
MongoClientOptions options = MongoClientOptions.builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this branch seems extrange, at least "structurally" with respect the previous ones. Could be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in d0d92ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Instead of adding individual fields to configure MongoDB, a more scalable soluction would be to removing them all and replace for a mongo_uri parameter. Similar to what has been done recently in Orion Context Broker
|
Yeah! It would be nice a great feature, replace MongoClientOptions to MongoClientUri |
https://mongodb.github.io/mongo-java-driver/3.6/driver/tutorials/ssl/
overcomes #2385