Cassandra Cluster Properties
The following cluster properties set the default values for the "Additional Properties" in the Manage Cassandra Connections task.
gateway94
The following cluster properties set the default values for the "Additional Properties" in the Manage Cassandra Connections task.
Refer to "Time Units" under Cluster Properties for a list of the valid time units that you can use for time-related properties.
Property | Description |
---|---|
cassandra.maxConnectionCacheAge | The maximum age of cached Cassandra connections. Value is a time unit. Enter '0' for no limit. Default: 0 |
cassandra.maxConnectionCacheIdleTime | The maximum time a cached Cassandra connection can remain idle before being purged. Value is a time unit. Enter '0' for no limit. Default: 30m |
cassandra.maxConnectionCacheSize | The maximum number of cached Cassandra connections. Enter '0' for no caching. Default: 20 Use this setting carefully, as an overly large cache can affect performance. |
cassandra.maxSimultaneousRequests PerHostThreshold | The maximum number of simultaneous requests per Cassandra host. The driver uses a single connection for each LOCAL or REMOTE host. Default: 8192 (hostDistance=LOCAL); 256 (hostDistance=REMOTE)From version 9.4 CR1, the default value is 1024 (hostDistance=LOCAL); 256 (hostDistance=REMOTE) |
cassandra.hostDistance | Determines the distance to the specified Cassandra host. Valid values: IGNORED, LOCAL, REMOTE Default: LOCAL |
cassandra.keepAlive | Sets the java.net.SocketOptions.SO_KEEPALIVE option for the Cassandra connection. |
cassandra.fetchSize | Sets the default fetch size for queries that do not explicitly set a fetch size. The fetch size determines the number of records retrieved in a single round trip to the Cassandra server. To disable paging, set the fetch size to 2147483647. Default: 5000 |
cassandra.maxRecords | Sets the default maximum number of records the Perform Cassandra Query assertion will return from querying the Cassandra server. Default: 10 |
cassandra.connectTimeoutMillis | The connect timeout in milliseconds for the underlying Netty channel. Default: 5000 (milliseconds) |
cassandra.readTimeoutMillis | Defines the amount of time in milliseconds the driver waits for a given Cassandra node to answer a query before timing out. Default: 12000 (milliseconds) |
cassandra.reuseAddress | Whether to allow the same port to be bound to multiple times. Corresponds to java.net.SocketOptions.SO_REUSEADDR for the Cassandra connection. |
cassandra.receiveBufferSize | A hint on the size of the buffer that is used to receive data. Corresponds to java.net.SocketOptions.SO_RCVBUF for the Cassandra connection. Minimum is 0. |
cassandra.sendBufferSize | A hint on the size of the buffer that is used to send data. Corresponds to java.net.SocketOptions.SO_SNDBUF for the Cassandra connection. Minimum is 0. |
cassandra.soLinger | When specified, disables the immediate return from a call to close() on a TCP socket. Corresponds to java.net.SocketOptions.SO_LINGER for the Cassandra connection. |
cassandra.tcpNoDelay | Disables Nagle's algorithm on the underlying socket. Corresponds to java.net.SocketOptions.TCPNODELAY. |
cassandra.consistencyLevel (Available as of Version 9.4 CR1) | Sets the default consistency level of the Perform Cassandra Query assertion. Default: ONE |