Skip to content
Sharp

Project Reactor · interview question

What role does the Publisher interface play in the Reactive Streams Specification?

Multiple choiceMediumchapter-19-curatedpremiumproject-reactorproject-reactor-flux
Choose one answer
Answer and explanation

Correct answer

C. It publishes data to Subscribers.

Why

The Publisher interface defines a method for publishing data to Subscribers, initiating the flow of data in the reactive stream pipeline by issuing requests to Subscribers.

Test yourself on Project Reactor

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

Start free test
All Project Reactor questions →