An opinionated wrapper around KafkaConsumer.
An opinionated wrapper around KafkaConsumer.
(commit! cnsmr)
Light wrapper around KafkaConsumer.commitSync. Commits the youngest offset of the most recently 'poll'ed messages for each partition.
Light wrapper around KafkaConsumer.commitSync. Commits the youngest offset of the most recently 'poll'ed messages for each partition.
(consumer props topic parts)
Returns a consumer with properities, props, and assigns it to partitions, part, for broker topic, topic.
Returns a consumer with properities, props, and assigns it to partitions, part, for broker topic, topic.
A list of cli-option-specs to be used in conjunction with cli/parse-opts and with consumer/extract-props-from-options.
A list of cli-option-specs to be used in conjunction with cli/parse-opts and with consumer/extract-props-from-options.
Consumer options defined and mapped into CONSUMER_DEFAULT_PROPS (used by consumer function) and CONSUMER_CLI_OPTION_SPECS (automatically used by ottla/start).
Many options were skipped, I've only added ones that seem useful at this time.
For more detailed descriptions, see: https://kafka.apache.org/documentation/#newconsumerconfigs
Consumer options defined and mapped into CONSUMER_DEFAULT_PROPS (used by consumer function) and CONSUMER_CLI_OPTION_SPECS (automatically used by ottla/start). Many options were skipped, I've only added ones that seem useful at this time. For more detailed descriptions, see: https://kafka.apache.org/documentation/#newconsumerconfigs
The map of default properties created from CONSUMER_CONFIGURABLES
The map of default properties created from CONSUMER_CONFIGURABLES
(consumers n props topic parts)
Like consumer, but returns a vector of n consumers with partitions, parts, split evenly among them. See consumer.
Like consumer, but returns a vector of n consumers with partitions, parts, split evenly among them. See consumer.
Default timeout in ms for poll.
Default timeout in ms for poll.
Converts a map of options created by parsing CONSUMER_CLI_OPTIONS into a map of properties for the consumer.
Converts a map of options created by parsing CONSUMER_CLI_OPTIONS into a map of properties for the consumer.
(poll! cnsmr)
(poll! cnsmr timeout-ms)
Light wrapper arround KafkaConsumer.poll. Returns a lazy seq of maps
Light wrapper arround KafkaConsumer.poll. Returns a lazy seq of maps
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close