re base code
[sdc.git] / catalog-be / sdc-backend / chef-repo / cookbooks / sdc-catalog-be / templates / default / BE-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 storage.cassandra.ssl.enabled=<%= @cassandra_ssl_enabled %>
10 storage.cassandra.ssl.truststore.location=/var/lib/jetty/etc/truststore
11 storage.cassandra.ssl.truststore.password=<%= @cassandra_truststore_password %>
12
13 storage.cassandra.read-consistency-level=LOCAL_QUORUM
14 storage.cassandra.write-consistency-level=LOCAL_QUORUM
15 storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
16 storage.cassandra.replication-strategy-options=<%= @DC_NAME_WITH_REP %>
17 storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>
18
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