Jump to: navigation, search

cassandraKeyspace Section



     


dataCompression

Default Value: LZ4
Valid Values: NONE, SNAPPY, LZ4, DEFLATE
Changes Take Effect: After start or restart


Stored data compression method.

name

Default Value: none
Valid Values: A lowercase string that begins with an alphanumeric character and continues with a sequence of alphanumeric characters and underscores, with a maximum length of 48 characters.
Changes Take Effect: After start or restart


Cassandra keyspace name.

password

Default Value:
Valid Values: Valid string
Changes Take Effect: After start or restart


The user's password

readConsistencyLevel

Default Value: LOCAL_QUORUM
Valid Values: EACH_QUORUM, QUORUM, LOCAL_QUORUM
Changes Take Effect: After start or restart


Consistency level for read operations, as described at http://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_config_consistency_c.html.

replicationStrategy

Default Value: NetworkTopologyStrategy
Valid Values: SimpleStrategy, NetworkTopologyStrategy
Changes Take Effect: After start or restart


Replication strategy name, as described at http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureDataDistributeReplication_c.html.

Warning
Genesys strongly recomends not using SimpleStrategy. If you use SimpleStrategy, you cannot use more than one data center and KeySpaces you create will be difficult to migrate to NetworkTopologyStrategy once they contain a lot of data. Also see https://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureDataDistributeReplication_c.html

If you set your replication strategy to SimpleStrategy you must also:

replicationStrategyParams

Default Value: 'OperationalDC':1
Valid Values: See the Cassandra replication configuration
Changes Take Effect: After start or restart


A comma-separated list of replication strategy parameters, where every list item is a colon-separated pair whose first item is the data center name enclosed in single quotes and whose second item is the number of replicas for that data center. For example, 'OperationalDC1': 3, 'OperationalDC2': 2 indicates that the OperationalDC1 data center includes 3 data replicas, while OperationDC2 includes 2 data replicas. For more information, consult http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureDataDistributeReplication_c.html.

retention.entity.all

Default Value: 0 seconds (8.5.1 and later); 15 (8.5.0)
Valid Values: String (8.5.1); Integer (8.5.0)
Changes Take Effect: After start or restart
Modified: 8.5.1

Starting with version 8.5.1, this value (as a string) specifies the time to live (TTL) for all entities in the Cassandra database, in the n time-unit format. For example, 1 second.

In version 8.5.0, this value (as an integer) specifies the time to live (TTL) for all entities in the Cassandra database, in the time units set in the retention.time-unit option.

This option affects all business entities in the database.

retention.entity.<object>

Default Value: 0 seconds (8.5.1); none (8.5.0)
Valid Values: string (8.5.1); integer (8.5.0)
Changes Take Effect: After start or restart
Modified: 8.5.1

As of version 8.5.1, this value (as a string) specifies the time-to-live (TTL) for specific business entities in the Cassandra database, in the format "n time-unit". For example, 1 day. This option only affects the business entity specified by <object>.

In version 8.5.0, this value (as an integer) specifies the time-to-live (TTL) for the selected entity, in the time units set in the options. <object> must be replaced with a business entity name.

retention.time-unit

Default Value: day
Valid Values: sec, min, hour, day, month
Changes Take Effect: After start or restart
Discontinued: 8.5.1

Defines the time units for the expiration period set in the retention.entity.all and retention.entity.* options.

transportCompression

Default Value: NONE
Valid Values: NONE, SNAPPY, LZ4
Changes Take Effect: After start or restart


The transport Compression method.

userName

Default Value:
Valid Values: Valid string
Changes Take Effect: After start or restart


The user's name

writeConsistencyLevel

Default Value: LOCAL_QUORUM
Valid Values: EACH_QUORUM, QUORUM,LOCAL_QUORUM
Changes Take Effect: After start or restart


Consistency level for write operations, as described at http://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_config_consistency_c.html.

This page was last edited on April 27, 2018, at 03:46.
Comments or questions about this documentation? Contact us for support!