Connecting to a sharded Mongo cluster
In order to connect to a sharded Mongo cluster you will need to first create a mongoClient seeded with the hosts and ports of your "mongos": http://api.mongodb.org/java/current/com/mongodb/MongoClient.html).
Please sign in to leave a comment.
0 comments