2

In the subscribeOn documentation, its says

Note that if you are using an eager or blocking create(Consumer, FluxSink.OverflowStrategy) as the source, it can lead to deadlocks due to requests piling up behind the emitter. In such case, you should call subscribeOn(scheduler, false) instead.

Tho some details are given, I'm not quite sure why requests gets piled behind emitter. Can someone explain this please

Simon Baslé
  • 27,105
  • 5
  • 69
  • 70
Ashok Koyi
  • 5,327
  • 8
  • 41
  • 50

0 Answers0