Open DarrenBishop opened 3 years ago
I see what you mean. I think this would be a fairly easy fix if you want to have a shot at submitting a PR.
Having said that, if you're not using this feature yet, I'd give some thought to using io.confluent.kafka.streams.serdes.avro.GenericAvroSerde
in combination with https://github.com/cddr/edn-avro. The readme of that project explains some of the mistakes I think we made with the avro serde in jackdaw and it attempts to solve the problem of marshalling data from clojure into avro and back in a way that is simpler, more interoperable with built-in Kafka tooling, and doesn't get in the way when you want to do more advanced things.
The call-site
and the call-target
Later in the code there are checks against property presence/values that cannot be true as a result; for example:
I am new to Clojure and this library, so hope my assessment is sound (and useful).