forked from flipkart-incubator/dkv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dkvsrv.yaml
48 lines (41 loc) · 2.96 KB
/
dkvsrv.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
42
43
44
45
46
47
48
node-name : "" #Name of the current Node Name
listen-addr : "0.0.0.0:8080" #listen address
http-listen-addr : "0.0.0.0:8081" # http listen address
role : "none" #Role of the node - master|slave|standalone
pprof : false #Enable profiling
statsd-addr : "" #StatsdD Address
verbose : false # Enable verbose logging. By default, only warnings and errors are logged.
log-level : "warn" # Use exact log level.
db-engine : "rocksdb" #Underlying DB engine for storing data - badger|rocksdb
#db-engine-ini : "rocksdb.ini" #An .ini file for configuring the underlying storage engine. Refer badger.ini or rocks.ini for more details.
block-cache-size : 3221225472 #Amount of cache (in bytes) to set aside for data blocks. A value of 0 disables block caching altogether.
root-folder : "/tmp/dkvsrv" #Root Dir (optional) used to derive db-folder if db folder is not defined
db-folder : "" # DB folder path for storing data files
diskless : false # Enables badger diskless mode where data is stored entirely in memory.
dc-id : "default" # DC / Availability zone identifier
vbucket : "default" # vBucket identifier
database : "default" # Database identifier
discovery-service:
server:
status-ttl: 300
heartbeat-timeout: 60
client:
discovery-service-addr: "multi:///127.0.0.1:8001,127.0.0.1:8002,127.0.0.1:8003"
push-status-interval: 1
poll-cluster-info-interval: 1
disable-discovery-client : false # Disable discovery client for auto discovery by replicas and envoy (for local only)
repl-master-addr : "" #Service address of DKV master node for replication
repl-poll-interval : "5s" #Interval used for polling changes from master. Eg., 10s, 5ms, 2h, etc.
nexus-cluster-name : "" # Nexus Cluster Name
nexus-node-url : "" # Node url (optional), will be auto derived from cluster-url
nexus-cluster-url : "" # Comma separated list of Nexus URLs of other nodes in the cluster
nexus-log-dir : "" # Dir for storing RAFT logs
nexus-snap-dir : "" # Dir for storing RAFT snapshots
nexus-entry-dir : "" # Dir for storing RAFT entry
nexus-entry-store : "memory" # Raft EntryStore engine (memory|disk)
nexus-max-snapshots : 5 # Maximum number of snapshot files to retain (0 is unlimited)
nexus-max-wals : 5 # Maximum number of WAL files to retain (0 is unlimited)
nexus-repl-timeout : 5 # Replication timeout in seconds
nexus-lease-based-reads : true # Perform reads using RAFT leader leases
nexus-snapshot-count : 100000 # Number of committed transactions to trigger a snapshot to disk
nexus-snapshot-catchup-entries : 10000 # Number of entries for a slow follower to catch-up after compacting the raft storage entries