doc: 阅读spring reactor文档
This commit is contained in:
@@ -452,3 +452,4 @@ Flux<String> bridge = Flux.create(sink -> {
|
||||
- `ERROR`:当下游无法`跟上`上游的数据发送速度时,上游将会发送`IllegalStateException`异常
|
||||
> 在上述描述中,`跟上`代表subscriber发送的request个数是否大于source产生的数据个数,例如,若下游只发送了`request(1)`,但是source产生了两个数据,调用了两次`sink.next`,那么第二次调用时`requested`已经为0,会调用`onOverflow`方法发送`error`信号
|
||||
|
||||
- `DROP`:当下游无法`跟上`上游的数据发送速度时(`上游发送onNext信号之前,如果下游requested配额不足`),上游将会丢弃该数据,`sink.next`不做任何操作。
|
||||
Reference in New Issue
Block a user