Skip to content
Sharp

Reactive Streams · interview question

Why does the Publisher in the Reactive Streams Specification matter in this design?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamsblocking-the-event-loop
Choose one answer
Answer and explanation

Correct answer

A. Emit data to a Subscriber according to demand.

Why

In the Reactive Streams Specification, the Publisher is responsible for emitting data items to the Subscriber based on the demand signaled by the Subscriber. This ensures backpressure and flow control.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →