9.5. ZooKeeper Retry and Retry Interval
Retry intervaland their properties. When an ensemble server is running, all containers that are part of fabric environment need to connect to this ensemble. The configadmin PID configuration for this process is
io.fabric8.zookeeperand it is configured by the default fabric profile.
etc/io.fabric8.zookeeper.cfgfile must be removed.
Properties for configuring the retry interval
zookeeper.passwordproperties are configured by default. The other properties that can be configured in
Table 9.2. Zookeeper properties
|Property Name||Description||Default Value|
|Number of trials to establish the connection.||3|
|Number of milliseconds to sleep between the connection attempts.||500|
|Timeout while establishing the connection.||15000|
|Once connection is established and the server session is created on server side. Client sends the session timeout and server checks the timeout.||60000|
profile-edit --pid io.fabric8.zookeeper/<propertyName>=<propertyValue> default [version]