Skip to content
Sharp

Reactive Streams · interview question

In a Reactive Streams setup, which component is responsible for invoking the request(n) method?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamsbackpressure-strategies
Choose one answer
Answer and explanation

Correct answer

C. Subscriber

Why

The Subscriber invokes the request(n) method to communicate the amount of data it can handle to the Publisher, effectively controlling the data flow and implementing backpressure.

Test yourself on Reactive Streams

A free test with instant, explained results. No account needed.

Start free test
All Reactive Streams questions →