(finalize-apache-config opts)
Returns opts with final :ketu.apache.producer/config entry
Returns opts with final :ketu.apache.producer/config entry
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close