Skip to content

[cleanup][client] Remove unnecessary pause/resume logic from MultiTopicsConsumerImpl and cleanup putIfAbsent logic - #25009

Merged
BewareMyPower merged 2 commits into
apache:masterfrom
lhotari:lh-fix-multi-topics-subscribing-permits
Dec 4, 2025
Merged

BewareMyPower merged 2 commits into
apache:masterfrom
lhotari:lh-fix-multi-topics-subscribing-permits

Conversation

@lhotari

@lhotari lhotari commented Nov 21, 2025

Copy link
Copy Markdown
Member

Motivation

Cleanup code in MultiTopicsConsumerImpl.

Modifications

  • cleanup pause/resume logic for internal consumers
  • cleanup and replace the putIfAbsent logic

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 4.2.0 milestone Nov 21, 2025
@lhotari lhotari self-assigned this Nov 21, 2025
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Nov 21, 2025
@codecov-commenter

codecov-commenter commented Nov 21, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.96296% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.33%. Comparing base (807dcaf) to head (ae28a15).
⚠️ Report is 286 commits behind head on master.

Files with missing lines Patch % Lines
...he/pulsar/client/impl/MultiTopicsConsumerImpl.java 62.96% 8 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #25009      +/-   ##
============================================
- Coverage     74.42%   74.33%   -0.10%     
- Complexity    33586    34078     +492     
============================================
  Files          1920     1920              
  Lines        150279   150263      -16     
  Branches      17448    17447       -1     
============================================
- Hits         111847   111699     -148     
- Misses        29557    29656      +99     
- Partials       8875     8908      +33     
Flag Coverage Δ
inttests 26.39% <33.33%> (-0.36%) ⬇️
systests 22.87% <14.81%> (-0.17%) ⬇️
unittests 73.86% <62.96%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...he/pulsar/client/impl/MultiTopicsConsumerImpl.java 76.36% <62.96%> (-0.65%) ⬇️

... and 88 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@BewareMyPower
BewareMyPower merged commit dcb8070 into apache:master Dec 4, 2025
void-ptr974 added a commit to void-ptr974/pulsar that referenced this pull request Oct 24, 2026
Remove the optional jcstress harness, dependencies and build tasks. Explain
why pause-state reconciliation is necessary and how initial FLOW ordering
is preserved, with references to apache#14566 and apache#25009.

Assisted-by: Codex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/client doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants