aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-titan.properties.erb
blob: 1a259a1f984dc2c84e590a85f890da84f30df919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
storage.backend=cassandra
storage.hostname=<%= @cassandra_ip %>
storage.port=9160
storage.username=<%= @cassandra_usr %>
storage.password=<%= @cassandra_pwd %>
storage.connection-timeout=<%= @titan_connection_timeout %>
storage.cassandra.keyspace=sdctitan

storage.cassandra.ssl.enabled=<%= @cassandra_ssl_enabled %>
storage.cassandra.ssl.truststore.location=/var/lib/jetty/etc/truststore
storage.cassandra.ssl.truststore.password=<%= @cassandra_truststore_password %>

storage.cassandra.read-consistency-level=LOCAL_QUORUM
storage.cassandra.write-consistency-level=LOCAL_QUORUM
storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
storage.cassandra.replication-strategy-options=<%= @DC_NAME_WITH_REP %>
storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>


cache.db-cache = false
cache.db-cache-clean-wait = 20
cache.db-cache-time = 180000
cache.db-cache-size = 0.5

cache.tx-cache-size = 1000000

storage.lock.retries=5
storage.lock.wait-time=500