javier-nieto-nexplore commented on issue #2347:
URL: https://github.com/apache/drill/issues/2347#issuecomment-951828956


   tested with the quick start 
   
https://mongodb.github.io/mongo-java-driver/4.2/driver/getting-started/quick-start/
   
   `<dependency>
           <groupId>org.mongodb</groupId>
           <artifactId>mongodb-driver-sync</artifactId>
           <version>4.2.3</version>
       </dependency>`
   
   code is able to connect to the cluster, connect to database+collection and 
get document count
   
   I've used connection string from atlas recommendations 
mongodb+srv://[username:password@]host[/[database][?options]] the options used 
are (?retryWrites=true&w=majority)
   
   here is some explanation about connection string options:
   
http://mongodb.github.io/mongo-java-driver/4.2/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html?is-external=true
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to