Upgrade SDC to use common cassandra cluster
[sdc.git] / asdctool / sdc-cassandra-init / chef-repo / cookbooks / cassandra-actions / templates / default / titan.properties.erb
1 storage.backend=cassandra
2 storage.hostname=<%= @cassandra_ip %>
3 storage.port=9160
4 storage.username=<%= @cassandra_usr %>
5 storage.password=<%= @cassandra_pwd %>
6 storage.connection-timeout=<%= @titan_connection_timeout %>
7 storage.cassandra.keyspace=sdctitan
8
9
10 storage.cassandra.ssl.enabled=false
11 storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/.truststore
12 storage.cassandra.ssl.truststore.password=Aa123456
13
14 storage.cassandra.read-consistency-level=LOCAL_QUORUM
15 storage.cassandra.write-consistency-level=LOCAL_QUORUM
16 storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
17 storage.cassandra.replication-strategy-options=<%= @DC_NAME %>,<%= @replication_factor %>
18 storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>
19
20 cache.db-cache = false
21 cache.db-cache-clean-wait = 20
22 cache.db-cache-time = 180000
23 cache.db-cache-size = 0.5
24
25 cache.tx-cache-size = 1000000
26
27 storage.lock.retries=5
28 storage.lock.wait-time=500
29