This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-11
Channels
- # announcements (16)
- # aws (4)
- # babashka (30)
- # beginners (58)
- # bristol-clojurians (4)
- # cider (9)
- # clj-kondo (2)
- # clojure (229)
- # clojure-europe (25)
- # clojure-gamedev (1)
- # clojure-italy (4)
- # clojure-nl (13)
- # clojure-sanfrancisco (1)
- # clojure-uk (97)
- # clojured (7)
- # clojurescript (27)
- # code-reviews (2)
- # cursive (30)
- # data-science (39)
- # datomic (14)
- # emacs (12)
- # events (2)
- # fulcro (6)
- # graalvm (8)
- # graphql (14)
- # jackdaw (10)
- # jobs (2)
- # lambdaisland (5)
- # malli (4)
- # off-topic (28)
- # protorepl (13)
- # quil (7)
- # re-frame (2)
- # reagent (1)
- # reitit (3)
- # remote-jobs (5)
- # ring-swagger (1)
- # shadow-cljs (72)
- # sql (4)
- # tools-deps (182)
- # uncomplicate (4)
- # vim (9)
- # xtdb (19)
Hi quick question, I am trying to run client example from: https://cljdoc.org/d/fundingcircle/jackdaw/0.7.1/doc/jackdaw-client-api#producing however, first I run into a problem of missing key.serializer
and value.serializer
, but I append the config with "org.apache.kafka.common.serialization.StringSerializer"
... However I still keep getting error: Topic cannot be null
. Well I have auto-creation enabled, but nonetheless I go and create topic with cli kafka-topics
and it still says null, so I presume it resolves to null prior to hitting kafka.
Ah there might be a bug in that example. In place of "foo", please try {:topic-name "foo"}
.
Don't worry about that failure. I hit re-run to get a passing build. I thought I'd fixed the flakeyness in that test but obviously not. I'll need to revisit 😞
how do I give a mock producer the types of keys/values? Not sure to do it without generics