Anda dapat membuat instance MongoClient Anda sendiri menggunakan MongoClientOptions. Pembangun .
MongoClientOptions.Builder builder = new MongoClientOptions.Builder();
MongoClientOptions options = builder.connectionsPerHost(10).build();
MongoClient client = new MongoClient(listOfServers, options);