-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][broker] Upgrade avro version to 1.12.0 #24617
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
[improve][broker] Upgrade avro version to 1.12.0 #24617
Conversation
|
@hangc0276 Please add the following content to your PR description and select a checkbox: |
horizonzy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
@hangc0276 It seems that there are test failures:
|
|
@coderzc For can we delete this assertion, as it may not involve break changes ? pulsar/pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java Lines 510 to 517 in 277835a
|
I think we can delete this assertion, this should be a misuse, If you want to customize the conversion, you can set the classLoader. |
|
@gaoran10 Please help review the fix of SchemaDataValidatorTest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24617 +/- ##
=============================================
+ Coverage 38.80% 74.31% +35.50%
- Complexity 12984 33165 +20181
=============================================
Files 1824 1881 +57
Lines 142741 146850 +4109
Branches 16389 16866 +477
=============================================
+ Hits 55392 109129 +53737
+ Misses 79916 29056 -50860
- Partials 7433 8665 +1232
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java
Show resolved
Hide resolved
pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/AvroSchemaTest.java
Show resolved
Hide resolved
Co-authored-by: Jiwe Guo <technoboy@apache.org>
|
When I cherry-pick this PR to branch-4.0, this project build failed with following exception: Looks like related to branch-4.0 pulsar client enforced bytecode version and the maxJdkVersion is set to 8 |
Co-authored-by: Jiwe Guo <technoboy@apache.org>
This reverts commit 36cd2c2.
Reverted from branch-4.0. |
Co-authored-by: Jiwe Guo <technoboy@apache.org> (cherry picked from commit 36cd2c2)
Co-authored-by: Jiwe Guo <technoboy@apache.org> (cherry picked from commit 36cd2c2)
This reverts commit 36cd2c2.
This reverts commit 36cd2c2.
Co-authored-by: Jiwe Guo <technoboy@apache.org>
Co-authored-by: Jiwe Guo <technoboy@apache.org>
Fixes #xyz
Main Issue: #xyz
PIP: #xyz
Motivation
Upgrade the Avro version.
Modifications
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: