Replies: 1 comment 3 replies
-
Adding these as noted in #680 (comment) does not work, if I looked at the debugger the objectMapper being used for serder is still the enhancedObjectMapper
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This document talks about creating a NEW (no-arg JsonSerializer) https://docs.spring.io/spring-kafka/docs/current/reference/html/#tip-json but this does not utilize the existing ObjectMapper instance. I'm not saying it doesn't work (it does work), but I am just making sure there's no way of doing it.
#1703 had a bit of discussion but was closed without a working example where it takes the configuration from a
@KafkaListener
e.g.And the consumer properties (with the error handling deserializer)
#680 also had a discussion and was closed with #1053 but that enhanced ObjectMapper is still not the one that was provisioned. It would be preferable that we can simply have it injected somehow rather than it trying to create a new one.
#1782 may have fixed it but I can't find the
ObjectMapperCustomizer
anymoreBeta Was this translation helpful? Give feedback.
All reactions