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: 15
Valid Values: Valid integer
Changes Take Effect: After start or restart


Specifies the time to live (TTL) for all entities in the Cassandra database, in the time units set in the retention.time-unit options. This option affects all business entities in the database.

retention.entity.<object>

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


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


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.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on April 26, 2018, at 19:46.