Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling Spring ThreadLocal use #26

Open
mgrzeszczak opened this issue Jul 5, 2018 · 1 comment
Open

Handling Spring ThreadLocal use #26

mgrzeszczak opened this issue Jul 5, 2018 · 1 comment

Comments

@mgrzeszczak
Copy link

How does using coroutines pair with ThreadLocal variables used in Spring? Transactionality, security, MDC etc? What is the best approach to deal with that?

@sdeleuze
Copy link

sdeleuze commented Jul 5, 2018

I would be interested to hear @konrad-kaminski thoughts on this as well.

IMO Coroutines main advantage is to allow leveraging a Reactive/Async core via imperative programming. That's why I focus on WebFlux support as part of spring-fu experiment and bridging Coroutines context with Reactor context. That should allow us to take advantage of security and upcoming transactional Reactive support.

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

No branches or pull requests

2 participants