OptionalcontactSeed node addresses, e.g. ['127.0.0.1'] or ['10.0.0.1:9042'].
OptionallocalLocal data center name (required by the driver's default load-balancing policy).
OptionalkeyspaceDefault keyspace to bind the session to.
OptionalcredentialsPlain-text auth credentials passed to the driver.
OptionalclientEscape hatch for any other cassandra-driver Client option
(pooling, SSL, policies, socketOptions, ...). Merged into the options
passed to the Client constructor.
OptionalclientA pre-built driver Client (or a compatible mock). When provided,
connect() uses it directly and skips require('cassandra-driver')
entirely — this is how tests inject a mock without the real driver
installed.
Connection options for
CassandraStore. These map onto thecassandra-driverClientconstructor options.