Spring WebFlux is a new component introduced in Spring Framework 5.0 that allows the creation of reactive microservices using Netty as the new web/application server. WebFlux extensively uses the Reactor Framework to implement the reactive streams pattern. In this section, we will understand how to create Spring WebFlux applications, and how we can use them to migrate our non-reactive microservices into this new technological stack.
Understanding Spring WebFlux
Creating a Spring WebFlux application
As before, we will use Spring Initializr to create a new Spring Boot Application, but in this case, a WebFlux application. First, navigate to the Spring Initializr site at https://start.spring.io/. We will choose to create a Maven...