vertx / io.vertx.kotlin.cassandra / cassandraClientOptionsOf

cassandraClientOptionsOf

fun cassandraClientOptionsOf(contactPoints: Iterable<String>? = null, keyspace: String? = null, port: Int? = null): CassandraClientOptions

A function providing a DSL for building io.vertx.cassandra.CassandraClientOptions objects.

Eclipse Vert.x Cassandra client options.

Parameters

contactPoints - Set a list of hosts, where some of cluster nodes is located.

keyspace - Set the keyspace to use when creating the Cassandra session. Defaults to null.

port - Set which port should be used for all the hosts to connect to a cassandra service.