(commit-sync! {:keys [:com.flocktory.kafka-consumer/kafka-consumer
:com.flocktory.kafka-consumer/current-offsets]
:as consumer})
(ConsumerRecord->map record)
(create-consumer bootstrap-servers running? consumer)
(filter-consumers coll)
(get-kafka-consumer-config consumer bootstrap-servers)
(get-new-offsets {:keys [results]})
(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)
(get-pending-records {:keys [results]})
(kafka-offsets offsets)
(make-consume-fn consumer)
(make-transform-record-fn consumer)
(make-transform-record-key-fn consumer)
(make-transform-record-value-fn consumer)
(manual-consume-fn consumer)
(map-keys f m)
(map-vals f m)
(partition-process-fail records)
(pause-partitions! consumer topic-partitions)
(poll-loop {:keys [:com.flocktory.kafka-consumer/consume-fn] :as consumer})
(resume-partitions! consumer topic-partitions)
(safe-consume-fn consumer)
(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})
(start-consumers bootstrap-servers consumers)
(stop-consumers kafka-system)
(TopicPartition->map topic-partition)
(tracer-protocols consumer)
(update-consumer-state! consumer offsets pending-records)
(update-current-offsets! consumer new-offsets)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close