You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
previously I was using spring boot: 2.6spring cloud: 2021.0.5 and sprig-cloud-stream-binder-kafka, but we need to upgrade spring boot version from 2.6 to 3.3.3 and we got a trouble from a problem consumer broken caused by type casting error.
The error occurred in the JsonMassageConverter due to ObjectMapper read error. this error caused by using web-only ObjectMapper which is declared primary and not using ObjectMapper for Consumer.
Describe the solution you'd like
A clear and concise description of what you want to happen.
What about adding @ConditionalOnMissingBean(JsonMapper.class) this annotation on JsonMapperConfiguration.jsonMapper method which is for creating a bean?
then I think the user can declare the JsonMapper bean as they want
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
previously I was using
spring boot: 2.6
spring cloud: 2021.0.5
andsprig-cloud-stream-binder-kafka
, but we need to upgradespring boot version
from2.6
to3.3.3
and we got a trouble from a problemconsumer broken
caused by type casting error.The error occurred in the JsonMassageConverter due to
ObjectMapper read error
. this error caused by using web-only ObjectMapper which is declared primary and not using ObjectMapper for Consumer.Describe the solution you'd like
A clear and concise description of what you want to happen.
What about adding
@ConditionalOnMissingBean(JsonMapper.class)
this annotation onJsonMapperConfiguration.jsonMapper
method which is for creating a bean?then I think the user can declare the JsonMapper bean as they want
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: