Liking cljdoc? Tell your friends :D

cb.cljbeat.ottla.consumer

An opinionated wrapper around KafkaConsumer.

An opinionated wrapper around KafkaConsumer.
raw docstring

-make-consumerclj

(-make-consumer props parts)
source

commit!clj

(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.
sourceraw docstring

consumerclj

(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.
sourceraw docstring

CONSUMER_CLI_OPTIONSclj

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.
sourceraw docstring

CONSUMER_CONFIGURABLESclj

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
sourceraw docstring

CONSUMER_DEFAULT_PROPSclj

The map of default properties created from CONSUMER_CONFIGURABLES

The map of default properties created from CONSUMER_CONFIGURABLES
sourceraw docstring

consumersclj

(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.
sourceraw docstring

DEFAULT_POLL_TIMEOUT_MSclj

Default timeout in ms for poll.

Default timeout in ms for poll.
sourceraw docstring

extract-props-from-optionsclj

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.
sourceraw docstring

poll!clj

(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
sourceraw docstring

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

× close