From a02d0ef840ecc84e4c1a6d56141744b1bbbf7673 Mon Sep 17 00:00:00 2001 From: Tamir Suliman Date: Sat, 27 Jan 2024 22:56:27 +0100 Subject: [PATCH] Create zookeeper.properties.j2 --- KAFKA/kafka-automation/zookeeper.properties.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 KAFKA/kafka-automation/zookeeper.properties.j2 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 %}