From 45de3952b7c67f0300a77cbdddcfb711224eae4d Mon Sep 17 00:00:00 2001 From: asahi Date: Fri, 28 Mar 2025 17:51:46 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E9=98=85=E8=AF=BBspring=20reactor?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring/webflux/Reactor.md | 1 + 1 file changed, 1 insertion(+) diff --git a/spring/webflux/Reactor.md b/spring/webflux/Reactor.md index 3149661..7d1988b 100644 --- a/spring/webflux/Reactor.md +++ b/spring/webflux/Reactor.md @@ -452,3 +452,4 @@ Flux bridge = Flux.create(sink -> { - `ERROR`:当下游无法`跟上`上游的数据发送速度时,上游将会发送`IllegalStateException`异常 > 在上述描述中,`跟上`代表subscriber发送的request个数是否大于source产生的数据个数,例如,若下游只发送了`request(1)`,但是source产生了两个数据,调用了两次`sink.next`,那么第二次调用时`requested`已经为0,会调用`onOverflow`方法发送`error`信号 +- `DROP`:当下游无法`跟上`上游的数据发送速度时(`上游发送onNext信号之前,如果下游requested配额不足`),上游将会丢弃该数据,`sink.next`不做任何操作。 \ No newline at end of file