-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Description
Chris Roberts opened SPR-16969 and commented
Not sure if an issue, or I'm misunderstanding webflux operation. I'm trying to create a Flux<String> which is used by the client when data is available, ie: streamed string by string
Spring boot 2.0.1, using chrome
http://localhost:8080/demo -> Flux stream , streams the results
http://localhost:8080/demo2 -> Flux create, streams the results
Spring boot 2.0.3:
http://localhost:8080/demo -> Flux stream , streams the results
http://localhost:8080/demo2 -> Flux create, does not stream but waits for the all results
The reactor docs say:
"The more advanced form of programmatic creation of a Flux
, create
can work asynchronously or synchronously and is suitable for multiple emissions per round."
Affects: 5.0.7
Reference URL: http://projectreactor.io/docs/core/release/reference/
Attachments:
- DemoController.java (1.15 kB)
- pom.xml (1.35 kB)