Skip to content

[ISSUE #9145] Optimize Simple Consumer consumption delays when there are many queues in one broker #9409

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

qianye1001
Copy link
Contributor

Which Issue(s) This PR Fixes

Fixes #9145

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 23.52941% with 13 lines in your changes missing coverage. Please review.

Project coverage is 47.87%. Comparing base (ed410f3) to head (ef7c2b0).

Files with missing lines Patch % Lines
...he/rocketmq/proxy/grpc/v2/route/RouteActivity.java 23.52% 11 Missing and 2 partials ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9409      +/-   ##
=============================================
- Coverage      47.98%   47.87%   -0.11%     
+ Complexity     11923    11892      -31     
=============================================
  Files           1307     1307              
  Lines          92026    92042      +16     
  Branches       11781    11784       +3     
=============================================
- Hits           44157    44064      -93     
- Misses         42388    42482      +94     
- Partials        5481     5496      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


Settings clientSettings = grpcClientSettingsManager.getClientSettings(ctx);
boolean returnPhysicalQueues = !(clientSettings != null &&
ClientType.SIMPLE_CONSUMER.equals(clientSettings.getClientType()) && !clientSettings.getSubscription().getFifo());
Copy link
Member

@lizhimins lizhimins May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boolean isSimpleConsumerNonFifo = clientSettings != null
&& ClientType.SIMPLE_CONSUMER.equals(clientSettings.getClientType())
&& !clientSettings.getSubscription().getFifo();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] python客户端,多 master 无 slave,无压力,概率出现分钟级delay
3 participants