Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15494

mongosync docs improvements for connecting with Atlas

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pia.kochar@mongodb.com Pia Kochar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 40 weeks, 3 days ago