Hey, I am trying to use the json serializer and pass it as a class in a producer config but I can’t get it to work. So I am basically requiring
[jackdaw.serdes.json :as jserdes]
and then passing
ProducerConfig/VALUE_SERIALIZER_CLASS_CONFIG (class (jserdes/serializer))
when creating the producer
But then I get this error
NoSuchMethodException jackdaw.serdes.fn_impl.FnSerializer.<init>() java.lang.Class.getConstructor0 (Class.java:3082)
I have limited clojure knowledge and am reading up on defrecord/deftype to understand what’s going on but in the meantime is there an easy way for me to pass the serializer in this config ?