Skip to content

Configurations

pprasanna edited this page Feb 18, 2013 · 12 revisions

Choosing Cassandra or InMemory persistence (middletier*.properties)

User subscriptions can either be persisted in Cassandra or InMemory HashMap. The default option is to persist in InMemory. Overwrite the following configuration to choose Cassandra as the persistence store. Also, update the Cassandra configurations, which are shown below to fit your needs. Rebuild the Middle Tier Service after this config change.


rss.store=cassandra (Default is rss.store=inmemory)

Cassandra Configuration (middletier*.properties)

Following are the default Cassandra configurations. Overwrite them as needed and rebuild the Middle Tier Service


* cassandra.host=ec2-54-234-8-47.compute-1.amazonaws.com
* cassandra.port=7102
* cassandra.maxConnectionsPerHost=3
* cassandra.keyspace=RSS
* cassandra.columnfamily=Subscriptions