So I have not been able to configure the JavaType method for JsonSerializer using only yaml. Not sure the reason yet, but in the meantime how do I set this programatically?
I have seen code for it in the documentation but where exactly does this code need to run?
Spring Kafka: JsonDeserializer doesn't pick up TRUSTED_PACKAGE config
This is what I tried so far. Kafka Spring Deserialzer returnType static method never called
PS I am on Spring Boot 2.1.8 so cannot easily use the newer way with just properties right now.