driver-core/src/main/com/mongodb/connection/DefaultClusterFactory.java
@Deprecated
    public Cluster createCluster(final ClusterSettings clusterSettings, final ServerSettings serverSettings,
                                 final ConnectionPoolSettings connectionPoolSettings, final StreamFactory streamFactory,
                                 final StreamFactory heartbeatStreamFactory, final List<MongoCredential> credentialList,
                                 final CommandListener commandListener, final String applicationName,
                                 final MongoDriverInformation mongoDriverInformation) {
        return createCluster(clusterSettings, serverSettings, connectionPoolSettings, streamFactory, heartbeatStreamFactory, credentialList,
                commandListener, applicationName, mongoDriverInformation, Collections.<MongoCompressor>emptyList());
    }
@Deprecated
    public Cluster createCluster(final ClusterSettings clusterSettings, final ServerSettings serverSettings,
                                 final ConnectionPoolSettings connectionPoolSettings, final StreamFactory streamFactory,
                                 final StreamFactory heartbeatStreamFactory, final List<MongoCredential> credentialList,
                                 final CommandListener commandListener, final String applicationName,
                                 final MongoDriverInformation mongoDriverInformation) {
        return createCluster(clusterSettings, serverSettings, connectionPoolSettings, streamFactory, heartbeatStreamFactory, credentialList,
                commandListener, applicationName, mongoDriverInformation, Collections.<MongoCompressor>emptyList());
    }
Creates a cluster with the given settings.  The cluster mode will be based on the mode from the settings.

@param clusterSettings        the cluster settings
@param serverSettings         the server settings
@param connectionPoolSettings the connection pool settings
@param streamFactory          the stream factory
@param heartbeatStreamFactory the heartbeat stream factory
@param credentialList         the credential list
@param commandListener        an optional listener for command-related events
@param applicationName        an optional application name to associate with connections to the servers in this cluster
@param mongoDriverInformation the optional driver information associate with connections to the servers in this cluster
@return the cluster

@since 3.5
@deprecated use {@link #createCluster(ClusterSettings, ServerSettings, ConnectionPoolSettings, StreamFactory, StreamFactory,
List, CommandListener, String, MongoDriverInformation, List)} instead