diff --git a/KAFKA/kafka-automation/zookeeper.properties.j2 b/KAFKA/kafka-automation/zookeeper.properties.j2 new file mode 100644 index 0000000..b206372 --- /dev/null +++ b/KAFKA/kafka-automation/zookeeper.properties.j2 @@ -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 %}