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>" @shan 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?
ah sorry you're right. We did have have to use interop too
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
the folks at funding circle maintain it but I'm not sure how active they currently are