Zookeeper Discovery
- Last Updated: September 5, 2019
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Hive 8.0
- Documentation
Attribute
ZookeeperDiscovery (ZKD)
Purpose
Determines whether the driver uses Apache ZooKeeper when connecting to a database server.
Valid Values
0 | 1
Behavior
If set to 0 (Disabled), the driver does not use ZooKeeper when connecting to a database server. By default, the driver's behavior is determined by the connection options settings.
If set to 1 (Enabled), the driver attempts to connect to the member servers of a ZooKeeper ensemble that are specified by the Host Name connection option. At connection, the driver retrieves configuration information from the ZooKeeper service that determines the behavior of the driver for the connection. The retrieved configuration information takes precedent over any values specified using connection options. For additional information, see "Apache ZooKeeper."
Notes
- In addition to enabling this option (Zookeeper Discovery=1), you must provide the following to retrieve
configuration information from a ZooKeeper service:
- Using the Host Name connection option, specify the names (or
addresses) and port numbers of the member servers of the ZooKeeper ensemble to which
you want to connect. They must be specified using the following
format:
host_name:port_number | IP_address:port_number [, ...]See "Host Name" for details.
- Using the Zookeeper Namespace option, specify the name of the ZooKeeper name space to which you want to retrieve configuration information.
- Using the Host Name connection option, specify the names (or
addresses) and port numbers of the member servers of the ZooKeeper ensemble to which
you want to connect. They must be specified using the following
format:
Default
0 (Disabled)