Jump to: navigation, search

cassandra-keyspace Section

Configuration options in this section relate only to the UCS Application object and the UCS cluster Application object. Where a UCS cluster is configured, this section and its options must be configured only at the cluster application level, not for individual UCS instances.

name

Description: Cassandra keyspace name.
Default Value: none
Valid Values: Valid string
Mandatory: Yes
Changes Take Effect: After start/restart

replication-strategy

Description: Replication strategy name, as described at http://cassandra.apache.org/doc/latest/architecture/dynamo.html#replication.
Default Value: SimpleStrategy
Valid Values: SimpleStrategy, NetworkTopologyStrategy
Mandatory: No
Changes Take Effect: At schema creation

replication-strategy-params

Description: Replication strategy parameters. Their format relates to the strategy, as described at http://cassandra.apache.org/doc/latest/architecture/dynamo.html#replication.
Default Value: 'replication_factor':3
Valid Values: See the Cassandra replication configuration
Mandatory: No
Changes Take Effect: At schema creation

Important
For 'retention-entity' options, note that as soon as TTL is applied to a database record (interaction, contact) at the table level, it is impossible to change it, irrespective of when changes to the options' values take effect.

retention-entity-contact

Description: Specifies the time to live (TTL) for contacts. Value 0 sets an infinite duration.
Default Value: 0
Valid Values: Valid integer and unit (hour, hours or h | day, days or d). Unit not necessary if value is 0.
Mandatory: No
Changes Take Effect: Immediately

retention-entity-interaction

Description: Specifies the time to live (TTL) for interactions. Value 0 sets an infinite duration.
Default Value: 0
Valid Values: Valid integer and unit (hour, hours or h | day, days or d). Unit not necessary if value is 0.
Mandatory: No
Changes Take Effect: Immediately

retention-entity-interaction-<media-type>

Description: Specifies the time to live (TTL) for interactions of the specified media type (chat, email, sms or voice). Value 0 sets an infinite duration.
Default Value: 0
Valid Values: Valid integer and unit (hour, hours or h | day, days or d). Unit not necessary if value is 0.
Mandatory: No
Changes Take Effect: Immediately

For example, to keep:

  • Contacts for 300 days
  • Email interactions for 30 days
  • Other interactions for 90 days

you would set the following options :

  • retention-entity-interaction = 90 days
  • retention-entity-interaction-email = 30 days
  • retention-entity-contact = 300 days
This page was last modified on March 13, 2019, at 10:55.

Feedback

Comment on this article:

blog comments powered by Disqus