Skip to content

[ISSUE #9980] Skip invalid POP records when consumer group does not exist (#9980)#9982

Merged
lizhimins merged 2 commits intoapache:developfrom
Gautam-aman:fix/skip-invalid-pop-group-9980
Jan 20, 2026
Merged

[ISSUE #9980] Skip invalid POP records when consumer group does not exist (#9980)#9982
lizhimins merged 2 commits intoapache:developfrom
Gautam-aman:fix/skip-invalid-pop-group-9980

Conversation

@Gautam-aman
Copy link
Copy Markdown
Contributor

What does this PR do?

Skip invalid POP records when the consumer group does not exist, preventing
unnecessary checkpoint and retry message generation.

Why is it needed?

Currently, POP checkpoints may still be written even if the consumer group
is absent, leading to invalid retries and wasted resources.

How was this tested?

Verified locally with broker module build and full reactor build.
All quality checks (SpotBugs, Checkstyle) pass.

Related Issue

Fixes #9980

)

Signed-off-by: Aman Gautam <amangautam2128@gmail.com>
@Gautam-aman
Copy link
Copy Markdown
Contributor Author

Local build and full reactor completed successfully on JDK 17.
No functional changes outside POP broker logic.

@lizhimins
Copy link
Copy Markdown
Member

must remove flattened-pom.xml from your pr

@lizhimins lizhimins changed the title Skip invalid POP records when consumer group does not exist (#9980) [ISSUE #9980] Skip invalid POP records when consumer group does not exist (#9980) Jan 6, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 6, 2026

Codecov Report

❌ Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.74%. Comparing base (7cc0774) to head (e25b17d).
⚠️ Report is 9 commits behind head on develop.

Files with missing lines Patch % Lines
...cketmq/broker/processor/PopBufferMergeService.java 0.00% 9 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9982      +/-   ##
=============================================
- Coverage      48.84%   48.74%   -0.11%     
+ Complexity     12773    12741      -32     
=============================================
  Files           1324     1324              
  Lines          96405    96412       +7     
  Branches       12434    12436       +2     
=============================================
- Hits           47093    46993     -100     
- Misses         43571    43662      +91     
- Partials        5741     5757      +16     

☔ 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.

Signed-off-by: Aman Gautam <amangautam2128@gmail.com>
@Gautam-aman
Copy link
Copy Markdown
Contributor Author

Thanks for pointing this out all generated .flattened-pom.xml files have been removed from the PR.

@lizhimins lizhimins merged commit 2eb537c into apache:develop Jan 20, 2026
17 of 21 checks passed
dingshuangxi888 pushed a commit to dingshuangxi888/rocketmq that referenced this pull request Feb 10, 2026
… not exist (apache#9982)

Signed-off-by: Aman Gautam <amangautam2128@gmail.com>
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] Skip invalid records when the group is absent in Pop

3 participants