(commit-sync! {:keys [:com.flocktory.kafka-consumer/kafka-consumer
:com.flocktory.kafka-consumer/current-offsets]
:as consumer})
(get-partitions-to-pause
{:keys [:com.flocktory.kafka-consumer/assigned-partitions] :as consumer}
{:keys [results pause-assigned-partitions]})
(get-partitions-to-resume
{:keys [:com.flocktory.kafka-consumer/assigned-partitions]}
{:keys [results resume-assigned-partitions]})
(get-paused-partitions paused-partitions
partitions-to-resume
new-paused-partitions)
(should-commit? {:keys [:com.flocktory.kafka-consumer/last-commit-timestamp
:com.flocktory.kafka-consumer/optional-config]})
(start-consumer-thread {:keys [:com.flocktory.kafka-consumer/kafka-consumer]
:as consumer})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close