Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sarakhild/sse-stream-springwebflux
- Owner: SaraKhild
- Created: 2023-12-18T10:27:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-04T12:13:20.000Z (12 months ago)
- Last Synced: 2024-01-04T15:08:04.077Z (12 months ago)
- Topics: lombok, server-sent-events, spring-webflux
- Language: Java
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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