Auto Connect¶
Auto connect is a feature that lets you skip the Connect form where you enter ZooKeeper server address and throws you directly into the Editor UI. This is useful when you only have a single (or preferred) ZooKeeper cluster.
To enable this feature, first add the ZooKeeper cluster you want to use as a Preset Connection to ZooNavigator.
Then simply set the AUTO_CONNECT_CONNECTION_ID
environment variable to the id of that preset connection.
For example, if you added your ZooKeeper cluster using CONNECTION_MYZK_CONN
environment variable, then you would set AUTO_CONNECT_CONNECTION_ID
to MYZK
.
That’s it. When you open up ZooNavigator, it will automatically connect to your ZooKeeper cluster.