-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcassandra.yaml
41 lines (33 loc) · 1013 Bytes
/
cassandra.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
cluster_name: "rap-god-cluster"
num_tokens: 256
partitioner: org.apache.cassandra.dht.Murmur3Partitioner
commitlog_sync: periodic
commitlog_sync_period_in_ms: 10000
rpc_address: 0.0.0.0
listen_address: 172.18.0.2
broadcast_rpc_address: 172.18.0.2
role_manager: CassandraRoleManager
# Never allow ssl port on localhost, use a bridge network or a firewall for security reasons
storage_port: 7000
ssl_storage_port: 7001
# Transport rules
start_native_transport: true
native_transport_port: 9042
native_transport_allow_older_protocols: true
# Disk optimization
disk_optimization_strategy: "ssd"
disk_failure_policy: stop
commit_failure_policy: stop
#Snitch Directive
endpoint_snitch: SimpleSnitch
# Read and Write
concurrent_reads: 32
concurrent_writes: 32
concurrent_counter_writes: 32
# Seed Providers
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- seeds: "172.18.0.2"
#Timeouts
cas_contention_timeout_in_ms: 1000