Liking cljdoc? Tell your friends :D

franzy.admin.cluster


all-brokersclj

(all-brokers zk-utils)

Returns a list of all the broker info for each broker in the cluster.

Returns a list of all the broker info for each broker in the cluster.
raw docstring

assign-replicas-to-brokersclj

(assign-replicas-to-brokers broker-ids partitions replication-factor)
(assign-replicas-to-brokers broker-ids
                            partitions
                            replication-factor
                            fixed-start-index
                            start-partition-id)

broker-idsclj

(broker-ids zk-utils)

Gets a sorted list of broker IDs.

Gets a sorted list of broker IDs.
raw docstring

broker-ids-pathclj

(broker-ids-path)

broker-metadataclj

(broker-metadata zk-utils broker-id)

Returns broker info from Zookeeper, given a broker id.

If the broker dies before the Zookeeper query finishes, an exception will be thrown.

Returns broker info from Zookeeper, given a broker id.

If the broker dies before the Zookeeper query finishes, an exception will be thrown.
raw docstring

broker-sequence-id-pathclj

(broker-sequence-id-path)

broker-topics-pathclj

(broker-topics-path)

delete-broker-topic-path!clj

(delete-broker-topic-path! zk-utils broker-id topic)

Deletes the broker topic path in Zookeeper.

Deletes the broker topic path in Zookeeper.
raw docstring

manual-replication-assignmentclj

(manual-replication-assignment replica-assignments
                               broker-ids
                               start-partition-id)
(manual-replication-assignment replica-assignments
                               broker-ids
                               start-partition-id
                               check-broker-available?)

Creates a manual replication assignment map, given a string of replica assignments, a set of broker ids, a start partition id, and an optional check if a broker is available.

Creates a manual replication assignment map, given a string of replica assignments, a set of broker ids, a start
partition id, and an optional check if a broker is available.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close