|
While testing out mongosync with Atlas, I noticed a few places where the documentation could be made clearer for using mongosync with Atlas:
1. When starting up mongosync, I needed to specify ssl=true for Atlas connection strings. I think it would be helpful to include this in the docs, as it is not obvious:
The docs for connecting with Atlas currently list the following example connection string:
mongosync --cluster0 mongodb://clusterAdmin:superSecret@clusterOne01.fancyCorp.com:20020,
|
clusterOne02.fancyCorp.com:20020,
|
clusterOne03.fancyCorp.com:20020
|
--cluster1 mongodb://clusterAdmin:superSecret@clusterTwo01.fancyCorp.com:20020,
|
clusterTwo02.fancyCorp.com:20020,
|
clusterTwo03.fancyCorp.com:20020
|
but it should instead look like:
mongosync --cluster0 mongodb://clusterAdmin:superSecret@clusterOne01.fancyCorp.com:20020,
|
clusterOne02.fancyCorp.com:20020,
|
clusterOne03.fancyCorp.com:20020/?ssl=true
|
--cluster1 mongodb://clusterAdmin:superSecret@clusterTwo01.fancyCorp.com:20020,
|
clusterTwo02.fancyCorp.com:20020,
|
clusterTwo03.fancyCorp.com:20020/?ssl=true
|
2. I think it would be helpful to explicitly call out that srv-based connection strings cannot be used for mongosync. This is currently the default connection string type displayed in the Atlas UI for connecting to an Atlas cluster. I think it might be non-obvious to an user that this type of connection string cannot be used.
|