These are chat archives for ReactiveX/RxJava

2nd
Aug 2016
Ben Christensen
@benjchristensen
Aug 02 2016 20:06

Yes you'll need to wrap the schedulers to do the copying of thread locals. The SchedulersHook is a good place to hook in your implementation if you want the default hooks to all pick up your behavior.

Hystrix does things like this as well if you want to see a similar example: https://github.com/Netflix/Hystrix/wiki/Plugins#concurrencystrategy

For example: https://github.com/Netflix/Hystrix/blob/master/hystrix-core/src/main/java/com/netflix/hystrix/strategy/concurrency/HystrixContextScheduler.java

Abhinav Solan
@eyeced
Aug 02 2016 22:54
Thanks @benjchristensen this would really help