Implementing Real-time Updates
Develop subscription resolvers in Spring Boot to publish events and send live data to clients.
Subscription Resolvers Explained
Subscriptions deliver real-time updates. Unlike queries that return data once, subscription resolvers return a stream of data that continuously pushes updates to clients.
We'll learn how to implement these streams in a Spring Boot GraphQL application.
Embracing Reactor Flux
Spring GraphQL leverages Project Reactor's Flux to handle subscriptions. A Flux represents an asynchronous, non-blocking stream of 0 to N items.
- It's ideal for continuous data delivery.
- You can emit multiple values over time.
All lessons in this course
- Understanding GraphQL Subscriptions
- Implementing Real-time Updates
- Integrating WebSockets with Spring
- Filtering and Scaling Subscriptions