zookeeper.properties 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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. # The number of milliseconds of each tick
  22. tickTime=2000
  23. # The number of ticks that the initial synchronization phase can take
  24. initLimit=10
  25. # The number of ticks that can pass between
  26. # sending a request and getting an acknowledgement
  27. syncLimit=5
  28. server.1=localhost:2281:2381
  29. server.2=localhost:2282:2382
  30. server.3=localhost:2283:2383
  31. server.4=localhost:2284:2384
  32. server.5=localhost:2285:2385