https://github.com/mohitsinha/spring-boot-reactive-sse
A sample project to demonstrate how to use Server-Sent Events using Spring Boot 2 and Spring Webflux
https://github.com/mohitsinha/spring-boot-reactive-sse
server-sent-events spring-boot spring-reactive spring-webflux
Last synced: 8 months ago
JSON representation
A sample project to demonstrate how to use Server-Sent Events using Spring Boot 2 and Spring Webflux
- Host: GitHub
- URL: https://github.com/mohitsinha/spring-boot-reactive-sse
- Owner: mohitsinha
- Created: 2017-09-09T15:30:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T11:43:26.000Z (over 8 years ago)
- Last Synced: 2025-04-06T20:13:01.031Z (about 1 year ago)
- Topics: server-sent-events, spring-boot, spring-reactive, spring-webflux
- Language: Java
- Size: 53.7 KB
- Stars: 1
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot Reactive Webflux Server-Sent Events
This is a sample application that shows how to use Server-Sent Events using:
- Spring Boot 2
- Spring Webflux
Please see the following pages for more details
- Spring Web Reactive
http://docs.spring.io/spring-framework/docs/5.0.0.M1/spring-framework-reference/html/web-reactive.html
## Running
Run this using using the gradle wrapper included
```
./gradlew bootRun
```
This will start the application on port 8080.
## cURL Commands
You can try the following API once the server is running.
GET __/stock/transaction__
``` curl -v http://localhost:8080/stock/transaction```