-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Bump of Avro from 1.11.3 to 1.12.0 causes deserialization of messages with array of elements using logicalType to fail #43084
Comments
My guess is that the Apicurio SERDE might need to be updated. @alesj @carlesarnal any idea? |
Except if there is a new configuration to set, I don't think we will be able to fix it / workaround it in Quarkus |
Sorry, I've been on PTO, looking into this now to see what can be done. |
We are also suffering from this and are currently stuck on 3.13.3. Are there any possible workarounds? |
This seems to be the relevant ticket from avro side: https://issues.apache.org/jira/browse/AVRO-4039 |
The upcoming Apicurio Registry release will fix this issue. I will comment here once it's done with the details. |
Quarkus has been upgraded on main to the new Apicurio Registry release |
@carlesarnal do you think it's something we could backport to the 3.15 branch of Quarkus (it's the LTS branch). BTW, should we close this issue? |
I think so, yes. The configuration values are the same, the options mentioned in the related threads were basically workarounds, so I think backporting the upgrade makes sense. As for closing the issue, yes, I think it can be closed since the upgrade is on main. |
Describe the bug
After updating from Quarkus 3.13.x to 3.14.x we are no longer able to deserialize messages containing arrays of logicalTypes.
This is an example of an Avro schema causing issues:
It looks likes the issue might have been introduced by this PR apache/avro#2389
Expected behavior
We expect to be able to deserialize the same message using Quarkus 3.13.x and 3.14.x
Actual behavior
Our Avro messages cannot be deserialized. We get this error:
How to Reproduce?
Unzip this example and run mvn test. Observe the test to fail.
kafka-avro-schema-quickstart.zip
Change Quarkus version to 3.13.1, and rerun, to see the test run successfully.
Output of
uname -a
orver
INGW64_NT-10.0-19045 xxxxxxxx 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys
Output of
java -version
openjdk version "21.0.2" 2024-01-16 LTS OpenJDK Runtime Environment Zulu21.32+17-CA (build 21.0.2+13-LTS) OpenJDK 64-Bit Server VM Zulu21.32+17-CA (build 21.0.2+13-LTS, mixed mode, sharing)
Quarkus version or git rev
3.14.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c)
Additional information
No response
The text was updated successfully, but these errors were encountered: