driver-async/src/main/com/mongodb/async/client/MongoClients.java
public static MongoClient create(final ConnectionString connectionString,
                                     @Nullable final MongoDriverInformation mongoDriverInformation) {

        return create(MongoClientSettings.builder().applyConnectionString(connectionString).build(),
                mongoDriverInformation, connectionString.getStreamType());
    }
public static MongoClient create(final ConnectionString connectionString,
                                     @Nullable final MongoDriverInformation mongoDriverInformation) {

        return create(MongoClientSettings.builder().applyConnectionString(connectionString).build(),
                mongoDriverInformation, connectionString.getStreamType());
    }
Create a new client with the given connection string.

<p>Note: Intended for driver and library authors to associate extra driver metadata with the connections.</p>

@param connectionString       the settings
@param mongoDriverInformation any driver information to associate with the MongoClient
@return the client
@throws IllegalArgumentException if the connection string's stream type is not one of "netty" or "nio2"
@see MongoClients#create(ConnectionString)