Debian Codegraph @

vagrant/zookeeper.properties

raw
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # the directory where the snapshot is stored.
16 dataDir=ZK_DATADIR
17 # the port at which the clients will connect
18 clientPort=ZK_PORT
19 # disable the per-ip limit on the number of connections since this is a non-production config
20 maxClientCnxns=0
21
22 # The number of milliseconds of each tick
23 tickTime=2000
24
25 # The number of ticks that the initial synchronization phase can take
26 initLimit=10
27
28 # The number of ticks that can pass between
29 # sending a request and getting an acknowledgement
30 syncLimit=5
31
32 server.1=localhost:2281:2381
33 server.2=localhost:2282:2382
34 server.3=localhost:2283:2383
35 server.4=localhost:2284:2384
36 server.5=localhost:2285:2385