Book Description
Reactor is an implementation of Java 9 Reactive Streams specification, an API for asynchronous processing of data. Reactive Streams specification is based on reactive programming paradigm enabling developers to build enterprise-grade robust applications with reduced complexity and time. This book will take you through the working of Reactor and show you how to use it for developing reactive applications in Java.
The book begins with the fundamental concepts of Reactor and the role it plays in building effective applications. You will be taught how to build fully non-blocking applications on the JVM and guided by the Publisher and Subscriber APIs. The book will show you how to use the two reactive composable APIs - Flux and Mono which are extensively used for implementing Reactive Extensions. Each of these components is combined with other components using various operations to build a complete solution. We will discuss the Flow API and understand backpressure to control overruns. You’ll be using SpringWebFlux, an extension of the Reactor framework for building Microservices.
By the end of the book, you will be confident in building reactive and scalable microservices on the JVM.