Skip to content

Commit

Permalink
Create zookeeper.properties.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
allamiro authored Jan 27, 2024
1 parent 7d51963 commit a02d0ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions KAFKA/kafka-automation/zookeeper.properties.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181
initLimit=5
syncLimit=2
{% for host in groups['kafka'] %}
server.{{ loop.index }}={{ hostvars[host]['ansible_fqdn'] }}:2888:3888
{% endfor %}

0 comments on commit a02d0ef

Please sign in to comment.