Skip to content

Feature/backpresure strategies#80

Merged
eschizoid merged 3 commits intomainfrom
feature/backpresure-strategies
Mar 31, 2026
Merged

Feature/backpresure strategies#80
eschizoid merged 3 commits intomainfrom
feature/backpresure-strategies

Conversation

@eschizoid
Copy link
Copy Markdown
Owner

No description provided.

…r sequential mode

- Refactor BackpressureController to support strategy pattern for metric selection (in-flight or lag)
- Implement lag-based backpressure for sequential processing; in parallel mode, retain in-flight metric
- Update KPipeConsumer to auto-select appropriate backpressure strategy based on processing mode
- Enhance tests to cover lag-based backpressure and strategy selection
- Improve README with detailed documentation on backpressure strategies and sequential vs parallel modes
- Simplify MessageProcessorRegistry pipeline composition using stream reduction
…etrics reporter classes

test: stabilize ExternalOffsetIntegrationTest with polling for DB offset

refactor: remove unused DEFAULT_PATH constant from HttpHealthServer
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 77.86260% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.41%. Comparing base (56a04f1) to head (647a45a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...rc/main/java/org/kpipe/consumer/KPipeConsumer.java 73.68% 19 Missing and 6 partials ⚠️
...ava/org/kpipe/consumer/BackpressureController.java 89.65% 0 Missing and 3 partials ⚠️
...a/org/kpipe/registry/MessageProcessorRegistry.java 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #80      +/-   ##
============================================
+ Coverage     77.07%   77.41%   +0.34%     
- Complexity      408      415       +7     
============================================
  Files            31       31              
  Lines          1640     1647       +7     
  Branches        171      174       +3     
============================================
+ Hits           1264     1275      +11     
+ Misses          277      272       -5     
- Partials         99      100       +1     

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

@eschizoid eschizoid merged commit aef80dc into main Mar 31, 2026
4 checks passed
@eschizoid eschizoid deleted the feature/backpresure-strategies branch March 31, 2026 23:57
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.

1 participant