Apache NiFi Configuration Best Practices
Also available as:
PDF

Embedded Zookeeper

The following table lists the default ports used by an Embedded ZooKeeper Server and the corresponding property in the zookeeper.properties file.

Function Property Default Value

Zookeeper Server Quorum and Leader Election Ports

server.1

none

Zookeeper Client Port (Deprecated: client port is no longer specified on a separate line as of NiFi 1.10.x)

clientPort

2181

Note
Note
Commented examples for the Zookeeper server ports are included in the zookeeper.properties file in the form server.N=nifi-nodeN-hostname:2888:3888;2181.