Skip to content
Sharp

Project Reactor · interview question

What does the Publisher interface in the Reactive Streams specification do?

Multiple choiceEasychapter-19-curatedpremiumproject-reactorfunctional-pipelines-flatmap
Choose one answer
Answer and explanation

Correct answer

A. Emits a stream of data to one or more Subscribers.

Why

The Publisher interface is responsible for emitting a stream of data to its Subscribers, forming the core part of the data stream in the Reactive Streams specification.

Test yourself on Project Reactor

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

Start free test
All Project Reactor questions →