While it is true that Avro is de facto standard for data serialization in Kafka, sometimes we don't want to use it for several reasons: don't want to set up the schema registry, generate the classes or write the Avro schema. As in a Proof of concept or a little project where JSON can meet our needs.
It is also true that writing your own Serdes is not fun at all.
I came up with a solution that satisfies me: a Generic Jackson Serdes to use for any Data Type
It would be nice to make the invocation even shorter knowing the Generic class type but, due to type erasure, it is not possible.
If we make use of the Lombok - Jakson integration for our Data classes we reduce boilerplate code even more.