reactive-support icon indicating copy to clipboard operation
reactive-support copied to clipboard

Add support for Reactor thread locals propagation

Open nathankooij opened this issue 6 years ago • 1 comments

Current module is not sufficient for Reactor because it does not provide support for decorating Callables which are used by Reactor's schedulers. Moreover, we can leverage Reactor's subscriber context mechanism to ensure propagation whenever Reactor's schedulers are not used (e.g. Netty and the Reactive Mongo driver use their own event-driven scheduling mechanism).

nathankooij avatar Mar 22 '18 15:03 nathankooij

not sufficient for Reactor because it does not provide support for decorating Callables which are used by Reactor's schedulers

FYI starting from Reactor 3.3, there is Schedulers.onScheduleHook() to do so. And, before 3.3, there was Schedulers.addExecutorServiceDecorator() for it.

Although I agree that using Reactor's Context is the best way to achieve it 👍

bsideup avatar Dec 02 '19 16:12 bsideup