libzookeeper
libzookeeper copied to clipboard
function get alway throw exception 'connection loss'
i got a zookeeper cluster and when i call function 'get' after i connected to the cluster the function throw connection loss. so i can't get anything from the cluster. what's worry with my code?
Would you mind providing sample code to detail this issue?
FYI, connect() does not connect to the cluster at once as you call it. So you can also check if the endpoint info (addr. and port) is correct.