forked from ligato/cn-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcassandra.conf
26 lines (20 loc) · 1.02 KB
/
cassandra.conf
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
# A list of host IP addresses of cassandra cluster nodes.
endpoints:
- "172.17.0.1:2379"
# Cassandra client port
port: 9042
# Connection timeout in nanosecond. The default value is 600ms.
op_timeout: 600000000
# Initial session timeout in nanoseconds, used during initial dial to server. The default value is 600ms.
dial_timeout: 600000000
# If set, gocql attempt to reconnect known down nodes in every ReconnectSleep. Default is 60 seconds.
redial_interval: 60000000000
# ProtoVersion sets the version of the native protocol to use, this will
# enable features in the driver for specific protocol versions, generally this
# should be set to a known version (2,3,4) for the cluster being connected to.
# If it is 0 or unset (the default) then the driver will attempt to discover the
# highest supported protocol for the cluster. In clusters with nodes of different
# versions the protocol selected is not defined (ie, it can be any of the supported in the cluster)
protocol_version: 0
# Transport Layer Security setup
tls: <tls-configuration>