-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Search before asking
- I searched in the issues and found nothing similar.
Motivation
MongoDB Atlas has a new and better way to connect to a cluster. It would be easier to support this feature by adding a connection.string property similar to what is done in Debezium MongoDB Connector.
Solution
Add a connection.string property so that the user can generate it from a template so it is easy to support newer versions of MongoDB. The generated connection string would look like this:
mongodb+srv://<username>:<password>@mycluster.gcp.mongodb.net/?retryWrites=true&w=majority
Alternatives
As an alternative you could add a connection.protocol property so that you support the new protocol promoted by MongoDB. See this post for more details:https://www.mongodb.com/developer/products/mongodb/srv-connection-strings/
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request