I'm consuming the zookeeper mt C client. I'm unsure of what the behaviour I should take when there is a Zookeeper failure, or interacting with Zookeeper in general. According to the documentation I've read, I should initiate reconnection to Zookeeper if the client fails. It seems like the client automatically does this. Am I mistaken? What part of the reconnection logic is my responsibility vs. the client's?
