https://github.com/jesty/kotlin-reactive
Kotlin community conf 2019 demo repository
https://github.com/jesty/kotlin-reactive
Last synced: 20 days ago
JSON representation
Kotlin community conf 2019 demo repository
- Host: GitHub
- URL: https://github.com/jesty/kotlin-reactive
- Owner: jesty
- Created: 2019-11-16T19:37:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T16:37:31.000Z (over 6 years ago)
- Last Synced: 2025-01-25T21:11:31.683Z (over 1 year ago)
- Language: JavaScript
- Size: 65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vanilla Kotlin “Reactive” with Spring WebFlux
This project aims to show how to build a reactive microservice using Coroutines and Spring Webflux.
The repository has 5 branches:
* master: The branch with documentation about the example and the playground used for test.
* springmvc: the basic application made with Spring MVC
* springwebflux: the first reactive version using Spring WebFlux and Project Reactor.
* flow: the last reactive version using Coroutines.
* flowrsocket: RSocket support
To run one of the provided sample applications please move to playground folder and run:
$ java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1617 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar flow.jar
Replace flow.jar with the microservice version that you would like to run.
In order to execute the performance tests, please open playground folder and run:
$ test.sh reportFolderName
Remember to set JMETER_HOME environment variable before running tests.
To test the SSE execute a command like:
$ curl -H "Accept:text/event-stream" http://localhost:8080/tic