This document contains some information about integrating sapi-nt with a Cassandra database. See here for more notes on time series.
You can configure a data source which accepts CQL queries and sends them to a Cassandra data store.
Time series endpoints can use a Cassandra database as their data source.
Cassandra data source specs have a type value of cassandraDataSource and can have the following properties:
| Property | Meaning | Default |
|---|---|---|
contactPoints |
A list of address of the nodes to be contacted initially before node discovery | |
keyspace |
A keyspace in Cassandra is a namespace that defines data replication on nodes. A cluster contains one keyspace per node | dev |
port |
A port on which to connect | 9042 |
authenticationMode |
Set the authentication mode. | none |
connectTimeout |
Timeout for establishing connection to cassandra, in milliseconds | 5000 |
readTimeout |
Timeout for completing a read query, in milliseconds | 5000 |
name : defaultDataSource
type : cassandraDataSource
contactPoints:
- localhost
port : 9142
keyspace : dev