Domenico Sibilio
1 min readOct 8, 2020

--

Hi Alwyn, thank you for your question. As highlighted in the article, the Reactor Context is probably not the best way to propagate mutable data. You can imagine it as a reactive equivalent of having to rely on ThreadLocal.

Also, the Reactor Context is populated at Subscription time and it’s itself immutable.

You can get more implementation and usage details over at https://projectreactor.io/docs/core/release/reference/#context.

--

--

Domenico Sibilio
Domenico Sibilio

Written by Domenico Sibilio

Software Developer @ https://www.linkedin.com/in/dsibilio/ — If my articles helped you, consider buying me a coffee :) https://www.buymeacoffee.com/dsibilio

No responses yet