This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-19
Channels
- # announcements (14)
- # babashka (16)
- # beginners (81)
- # calva (18)
- # chlorine-clover (8)
- # cider (4)
- # clj-kondo (11)
- # cljdoc (4)
- # cljsrn (5)
- # clojure (163)
- # clojure-europe (30)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (4)
- # cursive (3)
- # emacs (12)
- # events (1)
- # figwheel-main (3)
- # fulcro (60)
- # introduce-yourself (3)
- # jackdaw (12)
- # juxt (3)
- # lsp (77)
- # malli (23)
- # mid-cities-meetup (9)
- # music (2)
- # off-topic (12)
- # portal (6)
- # releases (2)
- # shadow-cljs (3)
- # spacemacs (7)
- # sql (1)
- # tools-deps (2)
- # vim (3)
Are there any plans to pull something like this? https://github.com/FundingCircle/jackdaw/pull/265
I have found success with schema registry basic auth via interop:
(def cli (CachedSchemaRegistryClient. (get (basic-config) "schema.registry.url") 200 (select-keys (basic-config) ["basic.auth.credentials.source" ""])))
(def serde-resolver
(partial resolver/serde-resolver :schema-registry-url (get (basic-config) "schema.registry.url")
:schema-registry-client cli))
you should also be able to set:
:basic.auth.credentials.source "USER_INFO"
: "<username>:<password>"
@U0DPX8ZQB Thanks - I found that those values are not passed to the schema registry client by Jackdaw so I had to use interop as above
Only the URL and the cache max capacity are passed https://github.com/FundingCircle/jackdaw/blob/0.9.3/src/jackdaw/serdes/avro/schema_registry.clj#L16
Unless I have missed something, perhaps there’s another way to do it?
Oh cool 🙂 It’s good to know I didn’t miss an easier way to do it
It seems like it would be a simple enough addition to Jackdaw, there even seem to be some open MRs for it. I’m not sure if there’s something I can do to help get it merged?
I am quite new to Clojure so still finding my feet