Skip to content
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

[ISSUE #9147] Remove unused code #9148

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

Conversation

mawen12
Copy link
Contributor

@mawen12 mawen12 commented Jan 20, 2025

Which Issue(s) This PR Fixes

Fixes #9147

Brief Description

producer group don't need repeat check.

How Did You Test This Change?

Delete the code and run maven test, then no error happend.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.03%. Comparing base (de4e48d) to head (1742644).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9148      +/-   ##
=============================================
+ Coverage      47.99%   48.03%   +0.04%     
- Complexity     12061    12063       +2     
=============================================
  Files           1321     1321              
  Lines          93024    93018       -6     
  Branches       11926    11924       -2     
=============================================
+ Hits           44643    44683      +40     
+ Misses         42842    42805      -37     
+ Partials        5539     5530       -9     

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

Copy link
Member

@mxsm mxsm left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines -778 to -781
throw new MQClientException(
"consumerGroup is null"
+ FAQUrl.suggestTodo(FAQUrl.CLIENT_PARAMETER_CHECK_URL),
null);
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO exception thrown in Validators.checkGroup should keep this more detailed error message.

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.

[Enhancement] Remove unnecessary code
5 participants