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 zoonavigator.auto-connect.connection-id
configuration option to the id of that preset connection.
For example, if you added your ZooKeeper cluster using zoonavigator.connection.myzk.connection-string
configuration option, then you would set zoonavigator.auto-connect.connection-id
to myzk
like so:
snap set zoonavigator zoonavigator.auto-connect.connection-id=myzk
That’s it. When you open up ZooNavigator, it will automatically connect to your ZooKeeper cluster.