Contents
- 1 cassandraKeyspace Section
- 1.1 dataCompression
- 1.2 name
- 1.3 readConsistencyLevel
- 1.4 writeConsistencyLevel
- 1.5 replicationStrategy
- 1.6 replicationStrategyParams
- 1.7 retention.entity.all
- 1.8 retention.entity.chat_session
- 1.9 retention.entity.live_sessions
- 1.10 retention.entity.session_history
- 1.11 retention.entity.window_history
- 1.12 retention.time-unit
cassandraKeyspace Section
dataCompression
Default Value: lz4
Valid Values: lz4, snappy, deflate
Changes Take Effect: Applied when the keyspace is created
Specifies data compression algorithm used when data is stored on the disk. Compression maximizes the storage capacity of Cassandra nodes by reducing the volume of data on the disk and disk I/O, particularly for read-dominated workloads. Cassandra quickly finds the location of rows in the SSTable index and decompresses the relevant row chunks. See http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_config_compress_t.html
name
Default Value: Cobrowse
Valid Values: string
Changes Take Effect: Applied when the keyspace is created
Specifies the Cassandra keyspace name where Co-browse server data will be stored. If the keyspace with this name does not exist in the cluster, it will be created automatically.
readConsistencyLevel
Default Value: LOCAL_QUORUM
Valid Values: ALL , EACH_QUORUM , QUORUM , LOCAL_QUORUM , ONE , TWO , THREE , LOCAL_ONE , ANY
Changes Take Effect: After Co-browse server restart
Specifies the consistency level. Determines the number of replicas on which the read must succeed before returning any data to the client application.
writeConsistencyLevel
Default Value: LOCAL_QUORUM
Valid Values: ALL , EACH_QUORUM , QUORUM , LOCAL_QUORUM , ONE , TWO , THREE , LOCAL_ONE , ANY
Changes Take Effect: After Co-browse server restart
Specifies the consistency level. Determines the number of replicas on which the write must succeed before returning an acknowledgment to the client application.
replicationStrategy
Default Value: NetworkTopologyStrategy
Valid Values: SimpleStrategy , NetworkTopologyStrategy
Changes Take Effect: Applied when the keyspace is created.
Specifies the keyspace replica placement strategy. See http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureDataDistributeReplication_c.html.
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: SmipleSnitch in your cassandra.yaml file.
replicationStrategyParams
Default Value: 'OperationalDC':1
Valid Values:
For NetworkTopologyStrategy set the value to comma separated pairs of '[Some_Data_Center_Name]':[replication factor number]
When the replication strategy is SimpleStrategy, value should contain either a number or 'replication_factor':<number of replication factor>. For example, 3 or 'replication_factor':3.
Changes Take Effect: After Co-browse server restart.
Comma separated parameters which define how many replicas you want per data center.
retention.entity.all
Default Value: 1
Valid Values: Positive integer in time-units. Must be equal to or greater than any other retention.entity value.
Changes Take Effect: After Co-browse server restart.
Specifies the default duration in time-units (days by default) to keep data in a column family if a special duration is not present for the column family.
retention.entity.chat_session
Default Value: 1
Valid Values: Positive integer in time-units. Must be greater than the amount of time expressed by the cometd/maxInterval option.
Changes Take Effect: After Co-browse server restart.
Specifies duration to keep data in the chat_session column family. This column family stores chat session data.
retention.entity.live_sessions
Default Value: 1
Valid Values: Positive integer in time-units. Must be greater than the amount of time expressed by the cometd/maxInterval option.
Changes Take Effect: After Co-browse server restart.
Specifies the duration in time-units (days by default) to keep data in the live_sessions column family. The column family stores the core Co-browse session state shared in the Co-browse cluster. In a normal situation, data from this column family is removed automatically shortly after a session is deactivated (when cometd/maxInterval elapses), but the retention policy mechanism guarantees that the data will be removed anyway. Default is 1 time-unit.
retention.entity.session_history
Default Value: 1
Valid Values: Positive integer in time-units. Must be greater than the amount of time expressed by the cometd/maxInterval option.
Changes Take Effect: After Co-browse server restart.
Specifies the duration in time-units (days by default) to keep data in the session_history column family. The column family stores session historical data accessible through the REST API.
retention.entity.window_history
Default Value: 1
Valid Values: Positive integer in time-units. Must be greater than the amount of time expressed by the cometd/maxInterval option.
Changes Take Effect: After Co-browse server restart.
Specifies the duration in time-units (days by default) to keep data in the window_history column family. The column family is a temporary store for page navigation information.
retention.time-unit
Default Value: day
Valid Values: sec, min, hour, day, or month
Changes Take Effect: After Co-browse server restart.
Specifies the retention time unit to define retention.entity values.