Configuration¶
ZooNavigator exposes Snap configuration options that could be split into three groups:
ZooNavigator - configures ZooNavigator and the web server
ZooKeeper client - configuration related to ZooKeeper
Java - configures the Java Virtual Machine
ZooKeeper client¶
zookeeper.client.max-age¶
default: 5000
Sets inactivity timeout for ZooKeeper client. If user doesn’t make any request during this period ZooKeeper connection will be closed and recreated for the future request if any. This value is in milliseconds.
Note
on client timeout user does not get logged out unlike in event of session timeout
zookeeper.client.connect-timeout¶
default: 5000
Sets timeout for attempt to establish connection with ZooKeeper. This value is in milliseconds.
zookeeper.sasl.client.enabled¶
default: true
Set the value to false
to disable SASL authentication.
zookeeper.sasl.client.config¶
default: Client
Specifies the context key in the JAAS login file.
zookeeper.sasl.client.username¶
default: zookeeper
Specifies the primary part of the server principal. Learn more here.
zookeeper.server.realm¶
Realm part of the server principal.
By default it is the client principal realm.
zookeeper.client.secure¶
If you want to connect to the server secure client port, you need to set this property to true
.
This will connect to server using SSL with specified credentials.
zookeeper.ssl.key-store.location¶
Specifies the file path to a JKS containing the local credentials to be used for SSL connections.
zookeeper.ssl.key-store.password¶
Specifies the password to a JKS containing the local credentials to be used for SSL connections.
zookeeper.ssl.trust-store.location¶
Specifies the file path to a JKS containing the remote credentials to be used for SSL connections.
zookeeper.ssl.trust-store.password¶
Specifies the password to a JKS containing the remote credentials to be used for SSL connections.
Java¶
java.xmx¶
Sets initial Java heap size. This value is in bytes if no unit is specified.
java.xms¶
Sets maximum Java heap size. This value is in bytes if no unit is specified.
java.security.auth.login.config¶
Path to JAAS login configuration file to use.
java.security.krb5.debug¶
If set to true
, enables debugging mode and detailed logging for Kerberos.
java.security.krb5.realm¶
Sets the default Kerberos realm.
java.security.krb5.kdc¶
Sets the default Kerberos KDC.