-
Notifications
You must be signed in to change notification settings - Fork 641
[ISSUE #4402] Refactor the retry module with HashedWheelTimer. #4505
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
Conversation
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/timer/HashedWheelTimer.java
Show resolved
Hide resolved
|
Please fix the build error. |
CI error has been fixed. |
|
LGTM |
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/retry/Retryer.java
Show resolved
Hide resolved
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/AbstractRetryer.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #4505 +/- ##
============================================
- Coverage 15.47% 15.34% -0.13%
- Complexity 1452 1454 +2
============================================
Files 691 694 +3
Lines 28106 28372 +266
Branches 2626 2685 +59
============================================
+ Hits 4349 4354 +5
- Misses 23312 23572 +260
- Partials 445 446 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@pandaapo Please review the new changes, thanks. |
…pache#4505) * Add HashedWheelTimer. * Integrate HashedWheelTimer to AbstractRetryer. * Refactor Retryer, RetryContxt. * Remove DelayQueue dependency. * Add retry debug log. * Fix checkstyle. * Optimize Retry interface. * Remove init method.
Fixes #4402 .
Modifications