blob: af497b57f280b6c5478d9a3930a9bd482290e596 [file] [log] [blame]
# The number of milliseconds of each tick
# The number of ticks that the initial
# synchronization phase can take
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir={{ default_data_dirs[0] }}/zookeeper
# the port at which the clients will connect
clientPort={{ zookeeper_client_port }}
# the maximum number of client connections.
# increase this if you need to handle more clients
# support zk monitoring (for zk >= 3.5)
{% if zookeeper_version is version('3.5', '>=') %}
{% endif %}
{% for host in groups['zookeepers'] %}
server.{{ loop.index }}={{ host }}:2888:3888
{% endfor %}