Skip to content

A demo project showing how to use Kotlin with Spring replacing Mono/Flux

Notifications You must be signed in to change notification settings

david-billings/kotlin-asynchronous-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Asynchronous Service Demo

A sample project to show how to use Kotlin/Coroutines with Spring boot to create asynchronous services. This project uses the latest Spring Data milestone (at time of writing) which has added coroutine support for MongoDB and does away with Mono/Flux making it easy to write asynchronous services in a synchronous style

Tests

Run the tests to see the examples in action. I have also shown how to run Spring MVC tests and JUnit tests on a codebase using coroutines.

MongoDB

You will need a local instance of MongoDB installed in order to run the example. The connection string is located in application.properties

About

A demo project showing how to use Kotlin with Spring replacing Mono/Flux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages