@Shanoj You really do not want to be using the Apache NiFi 0.x line anymore. That release version is more than 6 years old. Many many security bug fixes and improvements have been made since that time. Not to mention that the Cluster Manager was a single point of failure. If it goes down you lose all access to your NiFi. The Apache NiFi 1.x line introduced 0 master clustering allowing users to access NiFi from any node in the cluster.
While I strongly encourage the use of an external zookeeper with Apache NiFi 1.x line, NiFi does offer and embedded zookeeper option.
https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#embedded_zookeeper
I encourage you to read through the following walkthrough documentation:
https://nifi.apache.org/docs/nifi-docs/html/walkthroughs.html
It includes sections on installing NiFi, Securing it, and deploying a cluster which even covers using the embedded zookeeper.
If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.
Thank you,
Matt