Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose clientPortAddress zookeeper config #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ apt_cache_timeout: 3600
zookeeper_register_path_env: false

client_port: 2181
client_port_address: ~
init_limit: 5
sync_limit: 2
tick_time: 2000
Expand Down
3 changes: 3 additions & 0 deletions templates/zoo.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ tickTime={{ tick_time }}
dataDir={{ data_dir }}
dataLogDir={{ log_dir }}
clientPort={{ client_port }}
{% if client_port_address is defined %}
clientPortAddress={{ client_port_address }}
{% endif %}
initLimit={{ init_limit }}
syncLimit={{ sync_limit }}
maxClientCnxns={{ zookeeper_max_client_connections }}
Expand Down