0

The UnicastProcessor requests Long.MAX_VALUE elements on subscription and there is no way to set this while creating the processor.

I want to limit the number of requested items (to say 1) and only request next item once the previous items have been replayed to the subscriber. Also, the processor should only keep 1 subscriber and disconnect on second subscription, just like UnicastProcessor.

gGwP
  • 35
  • 1
  • 6
  • No because it makes no sense. If you need backpressure, subscribe to the source directly or through replay. – akarnokd Oct 28 '22 at 11:27

0 Answers0