Deepdive into Reactive Spring with Coroutines and Kotlin Flow
summary
Argues that Kotlin coroutines give reactive Spring a concise, imperative feel while preserving backpressure and Reactor interoperability; demonstrates Spring Boot 2.2 with Kotlin Coroutines and Flow, WebFlux, WebClient, R2DBC (H2/Postgres drivers) and RSocket concepts but uses SSE for the browser demo; builds a distributed chat (backend + Kotlin/JS frontend), exercises reactive DB client, functional routing and tests (web-test-client) — demos run and tests pass; shows experimental Kofu DSL for explicit config.
AI-written summary · about
chapters (29)
- 0:00Start
- 0:41Part 1: presentation
- 1:25Part 2: building a messenger application
- 2:55Improve signal to noise ratio
- 3:35Safety
- 4:42Discoverability
- 5:27Pleasure
- 6:10Android
- 7:20Multiplatform
- 9:38Framework documentation in Kotlin!
- 15:04Configuration Properties with Spring Boot 2.2
- 17:23Spring Security DSL by Eleftheria Stein
- 19:51Handler API
- 20:40Handler implementation
- 21:18Expose the router to Spring Boot
- 21:34A more realistic handler
- 22:31A more realistic router
- 28:08Spring Reactive stack is based on Reactor
- 30:53Drivers
- 44:38Suspending functions
- 46:33Structured concurrency
- 48:31Flow API
- 49:16Operators as extensions easy to implement
- 50:45Create a Flow
- 51:34Consume a Flow
- 57:59WebFlux suspending handler method
- 58:30WebFlux suspending view rendering
- 58:59WebClient
- 59:34WebFlux Router
related talks
43mSpring Boot with Kotlin, Kofu and Coroutines
52mSpring Boot with Kotlin, Kofu and Coroutines
47mSpring Boot with Kotlin, Kofu and Coroutines
54mFull-stack Reactive Kotlin with Project Reactor & Spring Boot 2
44mSpring + Kotlin = Modern + Reactive + Productive
47mWhy Spring ❤ Kotlin
44mKotlin and Spring Boot, a Match Made in Heaven
49mAsynchronous programming with Kotlin coroutines in Spring
