Hi,
Currently I have an application with 8 instances and a zookeeper cluster with 5 and am using Curator, I noticed that ConnectionStateListener enters a SUSPEND state and then RECONNECTED and also LOST to RECONNECTED and I can not understand why this happens.
my client configuration is:
CuratorFrameworkFactory.builder().connectString(ConnectionString)
.retryPolicy(new RetryNTimes(0, 0)).threadFactory(new ThreadFactoryBuilder().setDaemon(true).build())
.sessionTimeoutMs(1000).connectionTimeoutMs(1000).build();
and we are using Curator recipes (1.3.1) to perform a distributed locking.
could anyone help?
thanks.