In order to use the JsonSerializer, shipped with Spring Kafka, we need to set the value of the producer's 'VALUE_SERIALIZER_CLASS_CONFIG' configuration property to the JsonSerializer class.
Producing JSON Messages to a Kafka Topic.
In order to use the JsonSerializer, shipped with Spring Kafka, we need to set the value of the producer's 'VALUE_SERIALIZER_CLASS_CONFIG' configuration property to the JsonSerializer class.
Producing JSON Messages to a Kafka Topic.