~/talk

Spring Boot with Kotlin, Kofu and Coroutines

Talkat Spring I/O 2019 · 2019-05-16..05-17· [kotlin, reactive-programming]
slides:none on file

Live coding shows a four-step migration: Java+JPA → idiomatic Kotlin → reactive SQL with R2DBC reactive SQL → WebFlux → coroutines + Flow, and then explicit configuration with Kofu Kotlin DSL. Code demonstrates converting Mono/Flux to suspend/Flow, using WebClient for remote calls, running the app and tests successfully. Spring Boot 2.x WebFlux and coroutine support are production-ready; R2DBC drivers and Kofu are still incubating and need more maturity before full production use.

AI-written summary · about

  1. 0:00Start
  2. 0:54steps to go from a typical Spring Boot application in Java to an idiomatic Kotlin one
  3. 6:56Step 2 WebMvc with JPA to WebFlux with R2DBC
  4. 14:32Hot or cold streams Finite or infinite number of elements • Backpressure via suspending functions . Operators are implemented as extensions . Operators are easy to implement • map operator supports asynchronous operation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.