Although Spring Functional and Reactive Framework will be discussed thoroughly in the next chapter, this recipe will provide evidence that Spring 5 MVC has a full support on Reactor Core 3.x's Mono<T>
and Flux<T>
stream operations. This recipe will ex how to start and build Spring WebFlux applications from the ground up using the Spring 5 platform.
Open project ch08
again and add some @Service
non-blocking methods that retrieve employee data from a data source using Flux<T>
and Mono<T>
, manipulate them, apply backpressure to stream operations, and utilize multithreading through Reactor's Scheduler.