ZooKeeper Properties
NiFi depends on Apache ZooKeeper for determining which node in the cluster should play the role of Primary Node and which node should play the role of Cluster Coordinator. These properties must be configured in order for NiFi to join a cluster.
Property |
Description |
nifi.zookeeper.connect.string |
The Connect String that is needed to connect to Apache ZooKeeper. This is a comma-separated list of hostname:port pairs. For example, |
nifi.zookeeper.connect.timeout |
How long to wait when connecting to ZooKeeper before considering the connection a failure. The default value is |
nifi.zookeeper.session.timeout |
How long to wait after losing a connection to ZooKeeper before the session is expired. The default value is |
nifi.zookeeper.root.node |
The root ZNode that should be used in ZooKeeper. ZooKeeper provides a directory-like structure for storing data. Each 'directory' in this structure is referred to as a ZNode. This denotes the root ZNode, or 'directory', that should be used for storing data. The default value is |