If we visit http://start.spring.io, select Gradle, Spring Boot 2.0, Eureka Discovery, Config Client, Stream Rabbit, Lombok, and Reactive Web, we'll have a nice little service ready to chat:
compile('org.springframework.boot:spring-boot-starter-webflux') compile('org.projectlombok:lombok') compile('org.springframework.cloud:spring-cloud-starter-stream-
rabbit') compile('org.springframework.cloud:spring-cloud-stream-reactive') compile('org.springframework.cloud:spring-cloud-starter-eureka') compile('org.springframework.cloud:spring-cloud-starter-config')
These aforementioned dependencies in our new chat service can be described as follows:
- spring-boot-starter-webflux: This comes with a Reactive Streams capable WebSocket API
- lombok...