Cassandra Connection

Cassandra is a NoSQL database known for its scalability and high-performance capabilities.

This topic describes how to authenticate to Cassandra and configure any necessary connection properties in the Cassandra connection connector.

Connection Configuration

Each connection property available in the Cassandra connector is explained below.


Connection Name

The name of the connection to be created should be provided. This is the name that will display on the list of available connections.


Connection Type

Option to choose between either connecting securely using SSH Tunnel or, proceed with a direct connection.

If Connection Type value is SSH Tunnel, additional fields will be displayed as given below:

To know more about SSH Tunneling with Gathr, see SSH Tunneling


SSH Key

The SSH key should be provided to authenticate the associated SSH host and SSH user.

SSH Host

Public IP address of your SSH host.

SSH User

Default SSH username.


If Connection Type value is Direct Connection, then proceed by updating the following fields.


Hosts

Comma separated list of host:port where Cassandra is running. Example: server1.com:9042, server2.com:9042.

Test Connection Retries

Cassandra connection retry count in case of connection failures.


Authentication Enabled

Enable if authentication is enabled on Cassandra.

User

The Cassandra user account used to authenticate.

Password

The password used to authenticate the user.


Enable SSL

Option to enable SSL. This field sets whether the connector will attempt to negotiate TLS/SSL connections to the server. By default, the connector checks the server’s certificate against the system’s trusted certificate store.

Provide the path of the Keystore and Truststore files or upload them. Also, the password to read those files should also be given.


Add Configuration: Additional properties can be added using this option as key-value pairs.


After entering all the details, click on the TEST button.

If the connection service identification and authentication details are provided correctly, a success message stating “connection available” is generated.

Click on the CREATE button to save the changes.

If the details are incorrect or the server is down, you will get a message “Connection unavailable”.

Top