I know I must be missing some basic here. I'm familiar with RX Request(n) semantics for backpressure, but I'm struggling to make it work with rsocket-go. What I tried was calling DoOnNext and then blocking inside that call, but rsocket appears to just continue buffering and filling up memory. How do I prevent it from receiving further messages until I've processed them?
How to apply backpressure with rsocket-go?
35 views Asked by anderspitman At
1
I was able to solve this by following the test case here.
Basically: