Skip to content
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

Add support for connection.string property in the MongoDB CDC Connector #2049

Closed
1 of 2 tasks
tonycombocurve opened this issue Mar 27, 2023 · 2 comments · Fixed by #2203
Closed
1 of 2 tasks

Add support for connection.string property in the MongoDB CDC Connector #2049

tonycombocurve opened this issue Mar 27, 2023 · 2 comments · Fixed by #2203
Assignees
Labels
enhancement New feature or request

Comments

@tonycombocurve
Copy link

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!
@tonycombocurve tonycombocurve added the enhancement New feature or request label Mar 27, 2023
@Jiabao-Sun Jiabao-Sun self-assigned this Apr 20, 2023
@ai-smalleryu
Copy link

please assign me

@Jiabao-Sun
Copy link
Contributor

Thanks @asimansu.
Please feel free to submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants