Closed senzzzi closed 4 years ago
It's an important observation because the cluster will seemingly work but be less resilient to lost pods. What revision or variant do you run? https://github.com/Yolean/kubernetes-kafka/blob/master/zookeeper/10zookeeper-config.yml#L24 should produce a trailing newline, unlike |-
.
We are using a custom variant with 5 zookeeper (the non-persistent ones with regionally replicated volumes). We also copied the zookeeper.properties file ourselves and we are adding our version to the configmap. That's how I was able to remove the line from the properties file.
These yaml tricks are non-obvious :)
I am not sure this is an issue that needs a fix, but maybe a comment on the zookeeper.properties file would be enough. If the zookeeper.properties file doesn't have an empty line, the properties file is wrong and then zookeeper with id 1 is not recognized because it's not part of the cluster.