Liking cljdoc? Tell your friends :D

ketu.async.sink


default-optsclj

(default-opts)
source

default-producer-supplierclj

(default-producer-supplier opts)
source

done-chanclj

(done-chan state)
source

finalize-apache-configclj

(finalize-apache-config opts)

Returns opts with final :ketu.apache.producer/config entry

Returns opts with final :ketu.apache.producer/config entry
sourceraw docstring

loggerclj

source

sinkclj

(sink in-chan opts)

Sends ProducerRecord's from in-chan to kafka. Closes the producer by default when in-chan is exhausted or when calling stop! If :ketu.sink/close-producer? is set to false the user will have to close the producer manually.

Sends ProducerRecord's from in-chan to kafka.
Closes the producer by default when in-chan is exhausted or when calling `stop!`
If `:ketu.sink/close-producer?` is set to `false` the user will have to close
the producer manually.
sourceraw docstring

stop!clj

(stop! state)

Sends everything in the input channel to kafka and closes the producer. Input channel should be closed before calling this function. It shouldn't be necessary to call this function since by default the sink closes itself automatically when the input channel is closed.

Sends everything in the input channel to kafka and closes the producer.
Input channel should be closed before calling this function.
It shouldn't be necessary to call this function since by default the sink closes
itself automatically when the input channel is closed.
sourceraw docstring

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

× close