Reactive programming with Java
Learn the basics of reactive programming. You will learn to "THINK REACTIVE" - understand the paradigm shift and thinking change necessary to write code in a reactive way using Project Reactor.
Course Introduction
What is reactive programming?
Why do reactive programming?
Async in server-side apps?
A new paradigm
A Java streams detour
Collection Stream exercises
Audience Q&A
The story of two design patterns
Iterator and Observer patterns
The better assembly line analogy
Calling subscribe on reactive sources
Audience Q&A on reactive sources
Blocking to get a list
Key interfaces and types
Working with Mono and audience Q&A
Event types and terminal events
The subscribe method
Controlling backpressure with subscription classes
Audience Q&A on backpressure
Handling unresponsive Monos with timeout
Reactive all the way!
Operators - why they are needed?
Marble diagrams
Some common operators
The log operator
Exercise: Using operators
Exercise: Using flatMap and distinct operators
Avoid these issues with reactive programming
Error handling in reactive programming
Flux to Mono
Creating reactive streams
Audience Q&A on creating streams
Creating a reactive Spring Boot app