Re: Curator PersistentNode recipe

2020-10-05 Thread evaristo.camar...@yahoo.es
Thx a lot Jordan En domingo, 4 de octubre de 2020 18:29:43 CEST, Jordan Zimmerman escribió: Yes - the node is deleted ala: client.delete().guaranteed().forPath(localNodePath); So, if the connection is currently lost the path is added to an internal queue and deleted when the

Re: Curator PersistentNode recipe

2020-10-04 Thread Jordan Zimmerman
Yes - the node is deleted ala: client.delete().guaranteed().forPath(localNodePath); So, if the connection is currently lost the path is added to an internal queue and deleted when the connection is repaired. -Jordan > On Oct 3, 2020, at 12:17 PM, evaristo.camar...@yahoo.es wrote: > >

Curator PersistentNode recipe

2020-10-03 Thread evaristo.camar...@yahoo.es
Hi there, I am using Curator's 4.3.0 PersistentNode recipe to keep an ephemeral node against a ZK cluster. In some circumstances I need to close the PersistentNode instance using close() method when the connection to the ZK cluster could be LOST. In that scenario, the close() method is throwing