Classes
Methods
(static) AdminUtils.create(vertx, zookeeperHosts, connectionTimeoutMs, isSecure, autoClose) → {AdminUtils}
Create a new AdminUtils instance
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | Vert.x instance to use |
zookeeperHosts |
string | comma-separated list of Zookeeper server, e.g. localhost:2181,localhost:2182 |
connectionTimeoutMs |
number | Maximum time in ms to wait for the client to connect to Zookeeper |
isSecure |
boolean | If set to true, ZkUtils will perform security checks, i.e. ACL checks |
autoClose |
boolean | If set to true, the client will auto-close the connection after a command |
Returns:
an instance of the AdminUtilWrapper
- Type
- AdminUtils