Reactor is a reactive framework from the Spring Pivotal team. It builds on top of Reactive Streams. As we will discuss later in this chapter, Spring Framework 5.0 uses the Reactor framework to enable reactive web features.
Dependencies for Reactor are shown as follows:
<dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-core</artifactId> <version>3.0.6.RELEASE</version> </dependency> <dependency> <groupId>io.projectreactor.addons</groupId> <artifactId>reactor-test</artifactId> <version>3.0.6.RELEASE</version> </dependency>
Reactor adds in a couple of important things on top of the Subscriber, Consumer, and Subscriptions terminology introduced by Reactive Streams.
- Flux: Flux represents a Reactive Stream that emits ...