This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-18
Channels
- # announcements (6)
- # aws (1)
- # babashka (47)
- # beginners (50)
- # calva (65)
- # cider (4)
- # clj-commons (17)
- # clj-kondo (44)
- # clojure (150)
- # clojure-europe (41)
- # clojure-nl (4)
- # clojure-spec (1)
- # clojure-sweden (4)
- # clojure-uk (6)
- # clojurescript (15)
- # clr (1)
- # conjure (1)
- # core-async (7)
- # cursive (5)
- # datomic (12)
- # events (2)
- # fulcro (17)
- # graphql (12)
- # introduce-yourself (1)
- # jackdaw (5)
- # jobs (2)
- # lsp (52)
- # malli (5)
- # meander (3)
- # minecraft (2)
- # missionary (2)
- # off-topic (10)
- # other-languages (9)
- # reitit (9)
- # remote-jobs (1)
- # ring (8)
- # rum (7)
- # shadow-cljs (9)
- # sql (2)
- # tools-deps (20)
- # xtdb (12)
Hi, I’m fairly new to Clojure (looking at alternatives to Erlang/Brod, mainly to be able to use Kafka Streams API). So far I am trying to consume a topic with messages encoded in Avro with Schema Registry integration. Can someone point me at any examples of how to do this? I think I need to use a resolver but I am unsure what is required. I am hoping that it can retrieve the correct schema automatically from the header bytes of the message payload
Hey Alistair There’s some example avro code buried inside a comment in one of the examples in the code https://github.com/FundingCircle/jackdaw/blob/master/examples/serdes/src/serdes.clj#L116
There’s a few rough edges to jackdaw but I think it provides a decent experience for working with kafka streams (though I’m definitely biased towards solutions that allow me to write clojure). It hasn’t quite kept up with the pace of the upstream so sometimes you need to drop down to the java interop level but usually that’s not too much of a problem.
Thanks @cddr 🙂 Is it possible to provide basic auth credentials to schema registry via Jackdaw? Or would I need to mix in some Java interop?