Prev Next

Spring / Spring Webflux Interview questions

What does "Nothing happens until you subscribe" mean?

Reactive streams are lazy. Both Mono and Flux are just blueprints of an execution plan. Data doesn't start moving, and computations (like DB calls or API requests) don't trigger until a .subscribe() call is made.

More Related questions...

Show more question and Answers...


Comments & Discussions