How to do it...

Let's create a reactive stream communication with the Spring Cloud Stream module by performing the following steps:

  1. First, let's create the message producer, which is technically referred to as the SOURCE in the Spring Cloud Stream terminology. Create a Spring Boot 2.0 application with all the core starter POM dependencies, such as webflux, actuator, Thymeleaf, and FreeMarker. Since this project will be for Spring Cloud libraries and plugins for Spring Boot 2.0, add the following Spring Cloud Finchley dependency configuration into the pom.xml file:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies </artifactId> <version>Finchley.M1</version> ...

Get Spring 5.0 Cookbook 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.