Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sarakhild/sse-stream-springwebflux

This project simplify the Server Sent Events in Spring WebFlux
https://github.com/sarakhild/sse-stream-springwebflux

lombok server-sent-events spring-webflux

Last synced: about 2 months ago
JSON representation

This project simplify the Server Sent Events in Spring WebFlux

Awesome Lists containing this project

README

        

# Server Sent Events in Spring WebFlux


## Overview
In the world of web development, real-time communication between a server and its clients is crucial.
This brings us to SSE is a standard that allows a server to push updates to a client whenever there’s new data available.

In this project, I have implemented a simple example that provides updates about the current temperature, humidity, and wind speed of the weather. These updates are sent to the client every second.




## Usages
- Spring WebFlux
- Lombok


## Architecture of the Project

### 1-src folder

- EndPoint
- Model
- Service

### 2-Maven pom.xml



```


org.springframework.boot
spring-boot-starter-webflux
true


org.projectlombok
lombok
true


org.springframework.boot
spring-boot-starter-test
test


io.projectreactor
reactor-test
test


```


###### Output :star_struck:

https://github.com/SaraKhild/sse-stream-springwebflux/assets/67427643/11f2fc50-fc9d-4ea7-a299-4854bcc8c14f