-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][build] Upgrade Caffeine from 2.9.1 to 3.2.1 #24527
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][build] Upgrade Caffeine from 2.9.1 to 3.2.1 #24527
Conversation
This upgrade brings the latest features and performance improvements from Caffeine 3.2.1. The change is backward compatible as existing code uses standard Caffeine APIs. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@codelipenghui Please add the following content to your PR description and select a checkbox: |
lhotari
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.
I think we can only apply this to master branch which will be following PIP-421, so that we require Java 17 for the Pulsar Java client.
In the past, the reason for not upgrading Caffeine in Pulsar due to Java 8 compatibility of the Pulsar Java client. Since Pulsar 4.0.x is Java 8 compatible, we cannot cherry-pick this upgrade to branch-4.0.
|
/pulsarbot run-failure-checks |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #24527 +/- ##
============================================
+ Coverage 73.57% 74.32% +0.74%
+ Complexity 32624 32501 -123
============================================
Files 1877 1868 -9
Lines 139502 145941 +6439
Branches 15299 16735 +1436
============================================
+ Hits 102638 108468 +5830
+ Misses 28908 28873 -35
- Partials 7956 8600 +644
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Summary
This PR upgrades the Caffeine caching library from version 2.9.1 to 3.2.1 to benefit from the latest features and performance improvements.
Changes Made
caffeine.versionfrom 2.9.1 to 3.2.1 in the main pom.xml🤖 Generated with Claude Code