The Stack Overflow podcast is back! Listen to an interview with our new CEO.
3

It's difficult to say whether other tools will be better if there is nothing really concrete to measure against. A good, partially biased answer comes from Hashicorp's Consul This seems to describe why Consul would be inherently better than Zookeeper, from the point of view of ease of use: ZooKeeper et al. provide only a primitive K/V store and require ...


1

In lack of a better idea I chose this rather long approach: myid.j2 {% for host in groups['zookeeper'] %} {% if host == inventory_hostname %} {{ loop.index }} {% endif %} {% endfor %} The idea is to iterate over all hosts and check if the current host being processed matches the host in the list of hosts. If it matches I write the iteration counter to the ...


Only top voted, non community-wiki answers of a minimum length are eligible