Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cedricziel/demo-sse-spring-boot
Spring Boot (1.3.0.M1) Demo for Server Sent Events
https://github.com/cedricziel/demo-sse-spring-boot
demo spring-boot
Last synced: about 1 month ago
JSON representation
Spring Boot (1.3.0.M1) Demo for Server Sent Events
- Host: GitHub
- URL: https://github.com/cedricziel/demo-sse-spring-boot
- Owner: cedricziel
- Created: 2015-07-05T21:37:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-05T22:11:41.000Z (over 9 years ago)
- Last Synced: 2024-05-01T20:39:57.003Z (6 months ago)
- Topics: demo, spring-boot
- Language: Java
- Homepage:
- Size: 113 KB
- Stars: 42
- Watchers: 5
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Spring SSE Demo
SSE is for Server Sent Events.
## Requirements
* jdk8
* Maven3## Run
```
mvn spring-boot:run
```Open localhost:8080
## Takeaways
* the timeout for the SSE - Emitters needs to be raised.
* emitters need to be manually removed when the listener dies or on completion
* SSE with Spring Boot is practically a no-brainer