(kafka-producer h)
Takes a hashmap for configuration and returns a KafkaProducer that can be used to send messages
Takes a hashmap for configuration and returns a KafkaProducer that can be used to send messages
(producer-close producer)
Takes a producer and calls .close() on it
Takes a producer and calls .close() on it
(producer-record topic payload)
Takes a topic and a payload and created a ProducerRecord that is returned
Takes a topic and a payload and created a ProducerRecord that is returned
(producer-send-async producer record)
Takes a record and sends it, returns immediately
Takes a record and sends it, returns immediately
(producer-send-sync producer record timeout)
Takes a record and sends it, returns after the send or the timeout
Takes a record and sends it, returns after the send or the timeout
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close