Going Reactive with Spring 5 & Project Reactor
summary
Spring 5 plus Project Reactor powers a Netty-based reactive web runtime that runs a live-coded "Flux Flicks" movie service using Spring WebFlux and reactive MongoDB, with data types Mono (0–1) and Flux (0–n). The demo writes seed movies, emits movie events at about one per second via server-sent events, exposes both annotated controllers and functional router/handler endpoints, secures endpoints with Spring Security 5 basic auth, uses WebClient as a reactive client, and all components run successfully in the demo.
AI-written summary · about
chapters (39)
- 0:00Intro
- 4:28Big Problems
- 5:26Network IO
- 6:17Asynchronous IO
- 8:04Reactive Streams
- 11:27Reactor Project
- 13:49Data Access
- 15:06Saving the Project
- 16:53Building the App
- 18:17Sample Data Initializer
- 18:41Write Data to Database
- 19:29Alfonso Cuaron
- 19:53Flux
- 20:16Publisher
- 20:54Activate Pipeline
- 22:49Return a Movie
- 23:14Return a Movie Event
- 23:44Create a Movie Event
- 24:22Service API
- 25:13Stream of Value
- 25:51Thread Pool Scheduler
- 26:55Rest Controller
- 27:50MovieController
- 28:18Access Movie ID
- 29:42Server Sent Events
- 30:01Testing
- 32:06Reactive Web Runtime
- 34:14Movie Handler
- 35:10Events
- 37:00Cleanup
- 37:27Checking for typos
- 37:52Clear the mess
- 38:09Streaming events
- 39:16observability
- 40:21endpoints
- 40:36security
- 41:50authentication
- 43:26authorization
- 44:36build a client








