(consume consumer process running? ms n)
the 'process' function will take 'org.apache.kafka.clients.consumer.ConsumerRecords' which can be turns to a seq of maps with 'consumer-records->maps'
the 'process' function will take 'org.apache.kafka.clients.consumer.ConsumerRecords' which can be turns to a seq of maps with 'consumer-records->maps'
(poll consumer)
(poll consumer timeout)
fetches sequetially from the last consumed offset return 'org.apache.kafka.clients.consumer.ConsumerRecords' currently available to the consumer (via a single poll) if a 'timeout' param is 0, returns immediately with any records that are available now.
fetches sequetially from the last consumed offset return 'org.apache.kafka.clients.consumer.ConsumerRecords' currently available to the consumer (via a single poll) if a 'timeout' param is 0, returns immediately with any records that are available now.
(send! producer topic msg)
(send! producer topic key msg)
dummy gregor send wrap to:
dummy gregor send wrap to: 1. give it a '!' 2. avoid requiring another ns to 'send'
(to-props conf)
ranames keys by converting them to strings and substituting dashes with periods only does top level keys
ranames keys by converting them to strings and substituting dashes with periods only does top level keys
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close