Top-level namespace where all public API functions live. See README for example usage.
Top-level namespace where all public API functions live. See README for example usage.
(commit! this cnsmr)
commit the current offsets, by default this happens after every step
commit the current offsets, by default this happens after every step
The options that are automagically included when you use defconsumer
The options that are automagically included when you use defconsumer
(init this cli-options)
Given a map of cli-options, inits the machine.
Given a map of cli-options, inits the machine.
(step this msgs)
Given a list of msgs, updates the machine.
Given a list of msgs, updates the machine.
(start machine opts)
(start machine args cli-options)
Parses args and starts an OttlaMachine.
Parses args and starts an OttlaMachine.
(start-async-producer opts handler)
(start-async-producer args cli-options handler)
Handler is a function that converts a message from the channel into a kafka message. This function must return a map containing {:topic :key :value} or {:topic :partition :key :value} as per producer/send-and-flush-batch
Handler is a function that converts a message from the channel into a kafka message. This function must return a map containing {:topic :key :value} or {:topic :partition :key :value} as per producer/send-and-flush-batch
(start-producer opts)
(start-producer args cli-options)
parses args and returns a new producer
parses args and returns a new producer
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close