jackdaw

https://github.com/FundingCircle/jackdaw
iku000888 2019-01-03T15:40:08.010100Z

Thanks for sharing jackdaw. I am trying to sneak it in to my project at work ๐Ÿ™‚

iku000888 2019-01-03T15:55:09.011900Z

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))))

arrdem 2019-01-03T17:27:24.012300Z

@iku000888 thatโ€™s definitely a bug now that I look at it.

arrdem 2019-01-03T17:27:54.013100Z

Will happily take an issue - I should be able to patch that in a hot second here. Just spinning up for the day.

iku000888 2019-01-03T17:32:17.013300Z

sounds good!

iku000888 2019-01-03T17:34:59.013600Z

@arrdem https://github.com/FundingCircle/jackdaw/issues/24 ๐Ÿ™