summaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/cloud.config.zookeeper-server.def
diff options
context:
space:
mode:
Diffstat (limited to 'configdefinitions/src/vespa/cloud.config.zookeeper-server.def')
-rw-r--r--configdefinitions/src/vespa/cloud.config.zookeeper-server.def45
1 files changed, 45 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/cloud.config.zookeeper-server.def b/configdefinitions/src/vespa/cloud.config.zookeeper-server.def
new file mode 100644
index 00000000000..483e772b818
--- /dev/null
+++ b/configdefinitions/src/vespa/cloud.config.zookeeper-server.def
@@ -0,0 +1,45 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=cloud.config
+
+# Vespa home is prepended if the file is relative
+zooKeeperConfigFile string default="conf/zookeeper/zookeeper.cfg"
+
+# For more info about the values below, see ZooKeeper documentation
+
+# tick time in milliseconds
+tickTime int default=2000
+initLimit int default=20
+syncLimit int default=15
+maxClientConnections int default=0
+
+# Vespa home is prepended if the file is relative
+dataDir string default="var/zookeeper"
+
+clientPort int default=2181
+secureClientPort int default=2184
+
+snapshotCount int default=50000
+# Purge interval in hours
+autopurge.purgeInterval int default=1
+autopurge.snapRetainCount int default=15
+
+# Vespa home is prepended if the file is relative
+myidFile string default="var/zookeeper/myid"
+# Change from default of 1 Mb in zookeeper to 50 Mb
+juteMaxBuffer int default=52428800
+
+myid int
+server[].id int
+server[].hostname string
+server[].quorumPort int default=2182
+server[].electionPort int default=2183
+
+# Needed when upgrading from ZooKeeper 3.4 to 3.5, see https://issues.apache.org/jira/browse/ZOOKEEPER-3056,
+# and in general where there is a zookeeper ensemble running that has had few transactions.
+# TODO: Consider setting this to false by default (and override where appropriate)
+trustEmptySnapshot bool default=true
+
+# TLS options
+tlsForQuorumCommunication enum { OFF, PORT_UNIFICATION, TLS_WITH_PORT_UNIFICATION, TLS_ONLY } default=OFF
+tlsForClientServerCommunication enum { OFF, PORT_UNIFICATION, TLS_WITH_PORT_UNIFICATION, TLS_ONLY } default=OFF
+jksKeyStoreFile string default="conf/zookeeper/zookeeper.jks"