Right now, it's really difficult to configure the ObjectMapper as we have only one ObjectMapper instance in the entire application and would like to reuse the same. It would be best if the ObjectMapper is made protected in KafkaJsonDeserializer and KafkaJsonSerializer to be configured in void configure(Map<String, ?> props, boolean isKey) ; or provide a setter.
Right now, it's really difficult to configure the
ObjectMapper
as we have only oneObjectMapper
instance in the entire application and would like to reuse the same. It would be best if the ObjectMapper is made protected inKafkaJsonDeserializer
andKafkaJsonSerializer
to be configured invoid configure(Map<String, ?> props, boolean isKey) ;
or provide a setter.