Adding a Cassandra Connection
Prerequisites
Target | Protocol | Usual Ports |
|---|
Cassandra | datastax | 9042 |
Supported Versions
The Cassandra connector is compatible with version 3.0 and later.
Installing the Plugin
Declaring the Connection
Creating and configuring connectors is done through a dedicated configuration file located in the /connections folder of the relevant scanner.
In order to establish a connection with a Cassandra instance, the following parameters in the dedicated file are required:
Parameter | Expected value |
|---|
name | The name that will be displayed to catalog users for this connection. |
code | The unique identifier of the connection on the Zeenea platform. Once registered on the platform, this code must not be modified or the connection will be considered as new and the old one removed from the scanner. |
connector_id | The type of connector to be used for the connection. Here, the value must be cassandra and this value must not be modified. |
connection.contact_points | Comma-separated list of the contact point using format hostname:port. port. Value is optional and 9042 is the default value. |
connection.datacenter | Name of the datacenter |
connection.username | Username |
connection.password | User password |
User Permissions
In order to collect metadata, the running user's permissions do not need specific permissions, every user has read access to the system_schema keyspace.
Data Extraction
To extract information, the connector uses the datastax driver's API. It collects from the Metadata interface the keyspace's list for the inventory and then, collects information for each object during the import.
Collected Metadata
Inventory
This connector collects the list of all tables and views.
Dataset
A dataset can be a table or a view.
Name
Source Description
Technical Data:
Keyspace
Replication Strategy
Item Type
Clustering Order
Base Table Name
Field
Dataset field.
Name
Source Description
Type: Field type
Can be null: Depending on field setting
Multivalued: Not supported. Default value false.
Primary Key: Depending on the "Primary Key" field attribute
Technical metadata:
Object Identification Keys
An identification key is associated with each object in the catalog. In the case of the object being created by a connector, the connector builds it.
Object | Identification Key | Description |
|---|
Dataset | code/keyspace/dataset name | - code: Unique identifier of the connection noted in the configuration file - schema:Dataset keyspace - dataset name |
Field | code/keyspace/dataset name/field name | - code: Unique identifier of the connection noted in the configuration file - schema:Dataset keyspace - dataset name - field name |
Last modified date: 11/28/2025