franzy.admin.zookeeper.paths

A collection of Kafka-specific Zookeeper calls, often used internally.

This namespace presents a collection of tools to help you interrogate the state of Zookeeper paths.

delete-path

(delete-path zk-utils path)(delete-path zk-utils path recursive?)

Deletes a path in zookeeper, optionally deleting recursively.

maybe-delete-path

(maybe-delete-path zk-url zk-dir)

path-children

(path-children zk-utils path)(path-children zk-utils path allow-nil-parent?)

Returns Zookeeper path children.

path-data

(path-data zk-utils path)(path-data zk-utils path allow-nulls?)

Returns data on a Zookeeper path, optionally allowing for nulls.

path-exists?

(path-exists? zk-utils path)

Checks if a given path exists in Zookeeper.

persistent-paths

(persistent-paths zk-utils)(persistent-paths zk-utils secure-paths?)

Returns persistent paths in Zookeeper, optionally returning secure paths.