No description, website, or topics provided.
HTML Java Kotlin
Switch branches/tags
Nothing to show
Clone or download
snicoll Stream demonstration
This commit uses the new `WebClient` to contact another service
providing quote values. It then exposes that data as an event stream
that the client uses to draw a graph dynamically.
Latest commit 383580f Apr 13, 2017
Permalink
Failed to load latest commit information.
quote-app Stream demonstration Sep 7, 2017
quote-service Initial import May 17, 2017
.gitignore Initial import May 17, 2017
README.md Initial import May 17, 2017
pom.xml Initial import May 17, 2017

README.md

Web flux streaming demo

This demo application showcases some of the features of the reactive support in Spring Framework 5.

quote-service is a functional-based kotlin service that emits a "random" quote every 200ms, either as server-sent events (SSE) or json stream.

quote-app uses embedded MongoDB and the upcoming reactive MongoDB support to showcase how a template engine can integrate with this new paradigm. It also has a UI that uses display the value of a set of actions live. For that, it uses the new WebClient API on the server side to get the values from the quote-service in a reactive fashion.

To run the demo, simply start the two apps and go to http://localhost:8080.