Skip to content

Quarkus: rest-3.0.0 module - #3009

Merged
jtduffy merged 2 commits into
mainfrom
quarkus-rest-3
Jul 30, 2026
Merged

Quarkus: rest-3.0.0 module#3009
jtduffy merged 2 commits into
mainfrom
quarkus-rest-3

Conversation

@jtduffy

@jtduffy jtduffy commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Resolves #2991

Adds an instrumentation module for Quarkus REST applications. This also required the creation of a new module for SmallRye Mutiny (reactive programming library). The module will target:

  • any app that depends on quarkus-rest (Quarkus 3.9+) or quarkus-resteasy-reactive (Quarkus 3.0–3.8.x). These are the same technology, just under different artifact names
  • JAX-RS endpoints with synchronous. reactive, or streaming return types
  • Endpoints running on the event loop thread and endpoints that Quarkus dispatches to worker threads (blocking threads)

This smallrye module also utilizes a weak keys map to store tokens instead of the NewField instance variable annotation. I was able to do this since the actual subscriber is passed into the emitOn and SubscribeOn methods. We can then use the subscriber object as the key in the map to retrieve the token instance when the subscriber/callback fires.

@codecov-commenter

codecov-commenter commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.95%. Comparing base (5664ed4) to head (26b3a93).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3009      +/-   ##
============================================
+ Coverage     70.90%   70.95%   +0.05%     
+ Complexity    10667    10659       -8     
============================================
  Files           871      870       -1     
  Lines         42931    42879      -52     
  Branches       6498     6486      -12     
============================================
- Hits          30440    30425      -15     
+ Misses         9553     9520      -33     
+ Partials       2938     2934       -4     

☔ View full report in Codecov by Harness.
📢 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.

@jtduffy jtduffy moved this from Triage to Needs Review in Java Engineering Board Jul 28, 2026
@jtduffy
jtduffy merged commit d98d61b into main Jul 30, 2026
266 of 268 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Code Complete/Done in Java Engineering Board Jul 30, 2026
@jtduffy
jtduffy deleted the quarkus-rest-3 branch July 30, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Code Complete/Done

Development

Successfully merging this pull request may close these issues.

Quarkus instrumentation - quarkus-rest-3.0

3 participants