Thanks for sharing jackdaw. I am trying to sneak it in to my project at work ๐
Is it intentional to NOT use key
here? I noticed the value of key is always null for some reason
while fiddling with it
(defn produce!
"Helper wrapping `#'send!`.
Builds and sends a `ProducerRecord` so you don't have to. Returns
a future which will produce datafied record metadata when forced."
([producer topic value]
(send! producer
(jd/->ProducerRecord topic value)))
([producer topic key value]
(send! producer
(jd/->ProducerRecord topic value)))
([producer topic partition key value]
(send! producer
(jd/->ProducerRecord topic partition topic value)))
([producer topic partition timestamp key value]
(send! producer
(jd/->ProducerRecord topic partition timestamp topic value)))
([producer topic partition timestamp key value headers]
(send! producer
(jd/->ProducerRecord topic partition timestamp topic value headers))))
@iku000888 thatโs definitely a bug now that I look at it.
Will happily take an issue - I should be able to patch that in a hot second here. Just spinning up for the day.
sounds good!
@arrdem https://github.com/FundingCircle/jackdaw/issues/24 ๐