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.

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

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

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on May 18, 2018, at 06:55.