Commit ce04f2c
committed
Fix AggregatorFunctionConfiguration for Flux race condition
Defer consumption (subscription) in the `aggregatorFunction()`
from the input channel until request is done in the output channel.
This way we ensure that output `FluxMessageChannel` got subscribers
before `subscribeTo()` starts to emit data1 parent 8cf5da2 commit ce04f2c
1 file changed
Lines changed: 1 addition & 3 deletions
File tree
- function/spring-aggregator-function/src/main/java/org/springframework/cloud/fn/aggregator
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 82 | + | |
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
| |||
0 commit comments