Skip to content
Sharp

Reactive Streams · interview question

In the context of Reactive Streams, what is the role of a Publisher?

Multiple choiceEasychapter-19-curatedpremiumreactive-streamspublisher-and-subscriber
Choose one answer
Answer and explanation

Correct answer

D. To produce a stream of data events for Subscribers to consume.

Why

A Publisher in Reactive Streams is responsible for producing a sequence of data events. It interacts with Subscribers by pushing data, signaling completion, or reporting errors.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →