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: