cassandraKeyspace Section
Contents
name
Description: Cassandra keyspace 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.
Mandatory: Yes
Changes Take Effect: After start/restart
replicationStrategy
Description: Replication strategy name, as described at
http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architectureDataDistributeReplication_c.html.
Default Value: NetworkTopologyStrategy
Valid Values: SimpleStrategy, NetworkTopologyStrategy
Mandatory: No
Changes Take Effect: After start/restart
If you set your replication strategy to SimpleStrategy you must also:
- Configure a replication factor in the replicationStrategyParams option.
- For embedded Cassandra, set the endpointSnitch option of the [cassandraEmbedded] section to SimpleSnitch.
- For external Cassandra, set endpoint_snitch: SimpleSnitch in your cassandra.yaml file.
replicationStrategyParams
Description: 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.
Default Value: 'OperationalDC':1
Valid Values: See the Cassandra replication configuration
Mandatory: No
Changes Take Effect: After start/restart
dataCompression
Description: Stored data compression method.
Default Value: LZ4
Valid Values: NONE, SNAPPY, LZ4, DEFLATE
Mandatory: No
Changes Take Effect: After start/restart
readConsistencyLevel
Description: Consistency level for read operations, as described at
http://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_config_consistency_c.html.
Default Value: LOCAL_QUORUM
Valid Values: EACH_QUORUM, QUORUM, LOCAL_QUORUM
Mandatory: No
Changes Take Effect: After start/restart
writeConsistencyLevel
Description: Consistency level for write operations, as described at
http://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_config_consistency_c.html.
Default Value: LOCAL_QUORUM
Valid Values: EACH_QUORUM, QUORUM,LOCAL_QUORUM
Mandatory: No
Changes Take Effect: After start/restart
retention.time-unit
Description: Defines the time units for the expiration period set in the retention.entity.all and retention.entity.* options.
Default Value: day
Valid Values: sec, min, hour, day, month
Mandatory: No
Changes Take Effect: After start/restart
retention.entity.all
Description: 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.
Default Value: 1
Valid Values: Valid integer
Mandatory: No
Changes Take Effect: After start/restart
retention.entity.<object>
Description: Specifies the time to live (TTL) for the selected entity, in the time units set in the retention.time-unit options. <object> must be replaced with a business entity name.
Default Value: none
Valid Values: Valid integer
Mandatory: No
Changes Take Effect: After start/restart
userName
Description: The user's name
Default Value:
Valid Values: Valid string
Mandatory: No
Changes Take Effect: After start/restart
password
Description: The user's password
Default Value:
Valid Values: Valid string
Mandatory: No
Changes Take Effect: After start/restart
transportCompression
Description: The transport Compression method.
Default Value: NONE
Valid Values: NONE, SNAPPY, LZ4
Mandatory: No
Changes Take Effect: After start/restart