Going Reactive with Spring 5 & Project Reactor
summary
Demonstrates building a streaming service with Spring WebFlux, Project Reactor, Spring Boot 2 and a Netty runtime, using reactive MongoDB (embedded Flapdoodle) for storage and a Flux that emits one movie-event per second; exposes server‑sent events endpoints and a functional router, consumes them with WebClient, and verifies behavior with StepVerifier with virtual time by requesting 10 events and asserting completion. Live code creates, saves and streams sample movie titles and the demo endpoints and tests run successfully.
AI-written summary · about
chapters (32)
- 0:00Introduction
- 0:40Social Media
- 1:55Who am I
- 3:30Reactive Programming
- 5:41Reactive Extensions
- 8:14Project Reactor
- 10:24Live Demo
- 10:49Spring Initializer
- 18:26IntelliJ IDE
- 19:43Creating the Model
- 22:24Creating a Repository
- 23:39Creating Data
- 24:32Enter Void
- 25:34E tu mama tambien
- 27:07Cleaning up our code
- 29:45Define the API
- 30:39Get Movie ID
- 31:41Generate Movie Events
- 37:08External API
- 38:02Events
- 38:44Server Sent Events
- 39:15Spring MVC
- 39:50Testing Spring MVC
- 40:28Functional Reactive Approach
- 41:30New Handler Function
- 43:17Application JSON
- 45:08Verify
- 45:33Two different ways
- 46:18Open IntelliJ
- 46:45Create Web Client
- 47:44CopyPaste
- 49:09Wrap Up
