Skip to content

fix(router): close Kafka consumer client when subscription ends - #3133

Merged
dkorittki merged 5 commits into
wundergraph:mainfrom
mwisner:mwisner/fix/kafka-consumer-client-leak
Aug 12, 2026
Merged

dkorittki merged 5 commits into
wundergraph:mainfrom
mwisner:mwisner/fix/kafka-consumer-client-leak

Merge branch 'main' into mwisner/fix/kafka-consumer-client-leak

90e97a6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 12, 2026 in 1s

54.82% (target 30.00%)

View this Pull Request on Codecov

54.82% (target 30.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.82%. Comparing base (70cd61d) to head (90e97a6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3133      +/-   ##
==========================================
- Coverage   62.40%   54.82%   -7.58%     
==========================================
  Files         263      247      -16     
  Lines       31048    30493     -555     
==========================================
- Hits        19375    16718    -2657     
- Misses      10163    12181    +2018     
- Partials     1510     1594      +84     
Files with missing lines Coverage Δ
router/pkg/pubsub/kafka/adapter.go 65.67% <100.00%> (-0.83%) ⬇️

... and 130 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.