[ISSUE #8070] Optimize the submitConsumeRequest and remove unnecessary exception catching
Which Issue(s) This PR Fixes
Fixes #8070
If the number of messages or the consumeBatchSize is zero, it will work fine.
In submitConsumeRequest submitConsumeRequestLater is unnecessary.
Maven test fails in Ubuntu, but it seems to have nothing to do with this PR. @humkum Can you help me? Thanks!
Merge develop branch to fix the ut. @biningo
Merge develop branch to fix the ut. @biningo
OK, I've merged. Thanks for your help! :)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 42.90%. Comparing base (
159a603) to head (b8a638d).
Additional details and impacted files
@@ Coverage Diff @@
## develop #8071 +/- ##
=============================================
- Coverage 42.94% 42.90% -0.05%
+ Complexity 10387 10372 -15
=============================================
Files 1270 1270
Lines 88694 88679 -15
Branches 11401 11397 -4
=============================================
- Hits 38092 38045 -47
- Misses 45914 45940 +26
- Partials 4688 4694 +6
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.
This PR was closed because it has been inactive for 3 days since being marked as stale.