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

jackson-avro not compatibile with Avro 1.12.x #6721

Closed
jamesnetherton opened this issue Oct 30, 2024 · 0 comments
Closed

jackson-avro not compatibile with Avro 1.12.x #6721

jamesnetherton opened this issue Oct 30, 2024 · 0 comments
Labels
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Our tests for jackson-avro are passing which suggests that the Camel component functionality is likely ok.

But, there are some code paths in the AvroMapper that invoke APIs removed / modified in Avro 1.12.x:

https://github.com/FasterXML/jackson-dataformats-binary/blob/jackson-dataformats-binary-2.18.0/avro/src/main/java/com/fasterxml/jackson/dataformat/avro/AvroMapper.java#L229-L273

Which leads to NoSuchMethodError if used:

Caused by: java.lang.NoSuchMethodError: 'org.apache.avro.Schema$Parser org.apache.avro.Schema$Parser.setValidate(boolean)'
	at com.fasterxml.jackson.dataformat.avro.AvroMapper.schemaFrom(AvroMapper.java:257)
@jamesnetherton jamesnetherton added the bug Something isn't working label Oct 30, 2024
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Oct 30, 2024
@github-actions github-actions bot added this to the 3.17.0 milestone Oct 31, 2024
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Oct 31, 2024
JiriOndrusek pushed a commit to JiriOndrusek/camel-quarkus that referenced this issue Nov 4, 2024
JiriOndrusek pushed a commit to jboss-fuse/camel-quarkus that referenced this issue Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant