Skip to content

FluxSink emitting does not happen when next called during Flux create [SPR-16969] #21507

@spring-projects-issues

Description

@spring-projects-issues

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 Fluxcreate 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:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions