A consumer suitable for batch reading operations from Kafka.
A consumer suitable for batch reading operations from Kafka.
(create-consumers {:keys [:org.purefn.river.batch/topics
:org.purefn.river.batch/group-id
:org.purefn.river.batch/threads
:org.purefn.river.batch/bootstrap-servers]
:as config})
(default-config)
(default-config config)
The default configuration for a batch consumer.
::topics
The topics to consumer from.
::bootstrap-servers
hostname:port of a broker in the Kafka cluster to sink from.
::threads
The number of threads (consumers) to create for each topic.
(default 4)
::group-id
The group-id of the conumser group, used when committing offsets.
The default configuration for a batch consumer. - `::topics` The topics to consumer from. - `::bootstrap-servers` hostname:port of a broker in the Kafka cluster to sink from. - `::threads` The number of threads (consumers) to create for each topic. (default 4) - `::group-id` The group-id of the conumser group, used when committing offsets.
(process consumer
closing
{:keys [:org.purefn.river.batch/timeout] :as config}
dependencies
process-fn)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close