Consumer deserialization issue


Java Consumer is failing to deserialize the message with Specific Record POJO, after Schema is evolved by the producer. What can we do to handle this situation?

Producer added new optional fields, and is publishing with the new schema, can consumer ignore them?

I tried some of the options, like setting below variables, but they are not working.


Are you using some kind of schema registry? What serdes are you using?

Can you post the error you’re seeing? It sounds like a deserialization issue given you’ve tinkered with Jackson properties. But if you give a stacktrace or more information, surely someone can help.