How to configure Fabric and ZooKeeper connection timeouts and retries in Fuse 6.1?

Solution Unverified - Updated -

Issue

  • My fabric node is timing out and will never reconnect with the following ERROR:
ERROR | ZooKeeperGroup-0 | ConnectionState | org.apache.curator.ConnectionState  194 | 51 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Connection timed out for connection string (fuse1:2181,fuse2:2182,fuse3:2182,fuse4:2181,fuse5:2181) and timeout (15000) / elapsed (15006)                
org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
  • Is it possible to configure the various connection timeouts and retry parameters for Fabric and ZooKeeper
  • How to configure connectionTimeOutMs
  • How to configure sessionTimeOutMs
  • How to configure retryPolicy.maxRetries
  • How to configure retryPolicy.retryIntervalMs

Environment

  • Red Hat JBoss Fuse
    • 6.1 Rollup-2 Patch-1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content