Skip to content

medvedev/quarkus-context-propagation-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo app to show issue with Quarkus context propagation

Problem: "Manual" context propagation does not work in native mode
To read more about context propagation check this article

Steps to reproduce ht issue:

  1. Run app in dev mode: ./mvnw quarkus:dev
  2. Get MDC values using curl http://localhost:8080/uni && curl http://localhost:8080/thread-context Output:
MDC value:  from-uni
MDC value:  from-thread-context
  1. Stop quarkus
  2. Compile app into native executable: ./mvnw package -Pnative
  3. Start native app ./target/quarkus-context-propagation-1.0.0-SNAPSHOT-runner
  4. Get MDC values using the same command as in item 2: curl http://localhost:8080/uni && curl http://localhost:8080/thread-context Output:
MDC value:  from-uni
MDC value:  null

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages