Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix #3436] Ignoring unknown properties #3437

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Mar 11, 2024

The issue is caused because quarkus-avro uses 1.11.1 version (for quarkus2) or 1.11.3 (for quarkus 3) of apache avro and jackson-avro uses version 1.8.4.
When using avro generator Version > 1.9, it adds an additional field which makes jackson serializer fails.
Configuring mapper to ignore unknown properties do the trick.
Fixes #3436

@fjtirado fjtirado force-pushed the Fix_#3436 branch 3 times, most recently from b241a1c to c83da36 Compare March 12, 2024 13:20
Copy link
Contributor

@gmunozfe gmunozfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, nicely done @fjtirado !

@fjtirado fjtirado merged commit 5ac6c8a into apache:main Mar 13, 2024
6 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Mar 27, 2024
* [Fix apache#3436] Ignoring unknown properties

* [Fix apache#3436] Adding unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avro serialization failing because of unknown property
3 participants