© Adam L. Davis 2020
A. L. DavisSpring Quick Reference Guidehttps://doi.org/10.1007/978-1-4842-6144-6_12

12. Reactor

Adam L. Davis1 
(1)
Oviedo, FL, USA
 

Reactor1 is Spring’s implementation of reactive streams (in version 3 and beyond). It has two main publisher types, Flux<T> and Mono<T>. It uses Schedulers to determine on which thread to run each operation.

The Spring framework integrates in many ways with Reactor to make it easier to use with other Spring projects such as Spring Data and Spring Security. Spring WebFlux is a web framework much like Spring MVC but built around reactive streams and capable of running on Netty, a nonblocking I/O client-server framework.

Why Use Reactor?

The purpose of Reactor, and reactive streams in general, is to enable ...

Get Spring Quick Reference Guide: A Pocket Handbook for Spring Framework, Spring Boot, and More now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.