Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 351 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 351 Bytes

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