Other connection options

There are additional options (not shown previously) that can be accessed via the Cluster class, that play important roles in managing the connection to your cluster.

For most of these options, the default settings should suffice. But for those of you looking to optimize your driver to account for an edge case issue, additional connection options can be defined, as follows.

Depending on the version of the DataStax Java driver, some of these options and their syntax may change. Please consult the appropriate documentation for the most recent information.

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.