Spring Boot Server-sent Events

In this technical post we will see how to integrate Sever-sent events in a Spring Webflux application. Please read this previous Spring Webflux Basics before conitnue with this information. Then, let’s create a new Spring Boot project with Webflux and Lombok as dependencies: spring init --dependencies=webflux,lombok --language=java --build=gradle spring-boot-sse Here is the complete build.gradle file generated: plugins { id 'org.springframework.boot' version '2.3.4.RELEASE' id 'io.spring.dependency-management' version '1.0.10.RELEASE' id 'java' } group = 'com. [Read More]