0PricingLogin
GraphQL APIs with Spring Boot · Lesson

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

  1. Understanding GraphQL Subscriptions
  2. Implementing Real-time Updates
  3. Integrating WebSockets with Spring
  4. Filtering and Scaling Subscriptions
← Back to GraphQL APIs with Spring Boot