Skip to content
Sharp

Reactive Streams · interview question

In a reactive system, what is the role of the 'Publisher' in the Reactive Streams specification?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamsnon-blocking-i-o-event-loops
Choose one answer
Answer and explanation

Correct answer

D. To emit data to subscribers

Why

The 'Publisher' is responsible for emitting data items to the 'Subscriber'. It initiates the stream of data and controls the flow based on the demand signaled by the subscriber.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →