shayhatsor / zookeeper

Apache ZooKeeper .NET async Client
https://nuget.org/packages/ZooKeeperNetEx/
Apache License 2.0
236 stars 53 forks source link

Issue with ephemeral nodes #38

Open amritaGoel opened 5 years ago

amritaGoel commented 5 years ago

Hi I am using the csharp client (3.4.12.1). I have a thrift service, which uses ephemeral nodes for service registry. The problem is that even though the application is running, the ephemeral zookeeper node created by the service gets deleted. Upon looking into the logs, I found that I get the following message "org.apache.zookeeper.ClientCnxn+SessionTimeoutException: Client session timed out, have not heard from server in 6687ms for sessionid 0x201dd32015e2c80 at org.apache.zookeeper.ClientCnxn.startSendTask()" It seems like the csharp library is not able to read messages from zookeeper and closes the session. Has anyone else faced any such issues with deletion of ephemeral nodes?