Talk

Deepdive into Reactive Spring with Coroutines and Kotlin Flow

Deep Dive
Programming languages

In this deepdive session, we are going to explore how to leverage Spring Reactive stack with imperative code thanks to Kotlin Coroutines and its new Flow type. We are going to build step by step a chat application with Spring Boot 2.2 in order to explore various use cases for Coroutines API: - Building a REST API with WebFlux - Rendering of templates with Thymeleaf - Reactive messaging with RSocket including Android and JavaScript clients - Requesting remote webservices including streaming one with WebClient - Persistence with Spring Data R2DBC (Reactive SQL) At the end of this session, you will have a good understanding of what structured concurrency is, what makes Kotlin Flow so attractive, what are the differences between regular blocking code and Reactive code written with Coroutines, and what level of performance and scalability you can expect with this new way to consume Spring Reactive stack.

Scheduled on Tuesday from 13:30 to 16:30 in Room 6

Coroutines
Spring Boot
Spring Framework 5
Reactive Programming
Kotlin

S├ębastien Deleuze

Pivotal

S├ębastien is a Spring Framework committer at Pivotal, with a focus on Web, Reactive and GraalVM native image topics. He is also in charge of the Kotlin support across Spring portfolio and created the Spring Fu project. In his spare time, he is a member of the MiXiT conference staff.

Talks by tracksTalks by session typesList of SpeakersSchedule