Easy Backpressure
Limit Consumption Rate
Create a Flux emitting 1 through 20 and use limitRate(5) to request items in batches of 5. Use doOnRequest to print how many items are requested at each batch. Subscribe and print each value.
limitRate(n) prefetches n items at a time, implementing backpressure.
Expected
Requested: 5
Main.kt