Discovery Profiles
The Stackable Operator for Apache ZooKeeper creates a number of discovery profiles, which are client configuration bundles
that allow access to the Apache ZooKeeper cluster. These are published into the Kubernetes cluster as
ConfigMap
objects.
Discovery profiles are generated for each ZookeeperCluster
and ZookeeperZnode
object,
the name of which is the "base name" of the profile.
Profiles
Contents
Each discovery profile contains the following fields:
ZOOKEEPER
-
A connection string, as accepted by the official Java client
ZOOKEEPER_HOSTS
-
A comma-separated list of
node1:port1,node2:port2,…
ZOOKEEPER_CHROOT
-
The name of the root ZNode associated with the discovery profile, should be used if (and only if) connecting using
ZOOKEEPER_HOSTS
(rather thanZOOKEEPER
)