Search⌘ K

Project Reactor: Main Features

Understand the main features of Project Reactor including Flux and Mono classes, backpressure concept, and publisher-subscriber pattern. Learn how Spring integrates Reactor in WebFlux and data modules for building reactive backends with controlled data flow.

Overview

Project Reactor is a framework built by Pivotal and powered by Spring. It implements reactive programming patterns and, more specifically, the Reactive Streams specification.

If you’re familiar with Java 8 Streams, you’ll quickly find many similarities between a Stream and a Flux (or its single-element version, Mono). The main characteristics that differentiate Fluxes and Monos from the Stream API are that the first two follow a publisher-subscriber pattern and implement backpressureThe ability for the consumer to signal the producer that the rate of emission is too high..

Publish-subscriber

...