Cassandra Connection Shared Resource

The Cassandra connection shared resource describes the Cassandra connection information.

General

The General panel contains the following fields:

Field Module Property? Description
Package No The name of the package where the shared resource is added.
Name No The name to be displayed as the label for the shared resource in the process.
Description No A short description for the shared resource.

Cluster Configuration

The Cluster Configuration panel contains the following fields:

Field Module Property? Description
KeySpace Yes The name of the keyspace to be used for the created session.
Node Yes

The addresses of the nodes to be added as contact point.

User can configure node details in the following format:

<host>:<port>

Multiple node details can be configured separated by a comma as shown below:

<host1>:<port1>,<host2>:<port2>

Local Data Center Yes The name of the data center to be used for routing requests in the session.
Note: The test connection is successful even when the field is empty. However, you must configure the value.

Advanced Configuration

The Advanced Configuration panel contains the following fields:

Field Module Property? Description
Connect Timeout(ms) Yes Specifies how long in milliseconds the connection remains active if no action is performed.

The default value is 5000.

Read Timeout(ms) Yes Specifies the per-host read timeout in milliseconds.

The default value is 12000.

FetchSize Yes Specifies the fetch size to use for SELECT queries.

The default value is 5000.

Retry Policy Yes The retry policy determines the default behavior to adopt when a request either times out or a node is unavailable.

The default value is DefaultRetryPolicy.

Load Balancing Policy Yes A load-balancing policy determines which node it is to run a query.

The default value is DefaultLoadBalancingPolicy.

Token Aware Policy No This checkbox is selected as default. This policy is used with the Load Balancing Policy.

Security Configuration

The Security Configuration panel contains the following fields:

Field Module Property? Description
Login Credential No If this checkbox is selected, enter the Username and Password to authenticate the login.
Username Yes The username to access the Cassandra server.
Password Yes The password to access the Cassandra server.
Test Connection No Click this button to validate the connection.

Confidentiality

The Confidentiality panel contains the following fields:

Field Module Property? Description
SSL Client Configuration No This flag enables or disables transport layer security for the connection.
SSL Client No Select an SSL Client shared resource to establish a connection between the plug-in and the specified Cassandra server.

This field is available when the SSL Client Configuration checkbox is selected.

Note: The Cassandra connections are pooled in memory. Each shared resource establishes and stores in a single pool connection (two TCP connections) to the Cassandra database, irrespective of the number of activities using the resource. The exception is for the Get Cassandra connection, which creates a connection every time it is invoked.