小编tav*_*ced的帖子

DataBufferLimitException:超出缓冲 webflux 错误的最大字节数限制

在发送文件时,我收到一个字节数组。我总是遇到 webflux 接收数组的问题。抛出的错误如下:

org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
    at org.springframework.core.io.buffer.LimitedDataBufferList.raiseLimitException(LimitedDataBufferList.java:101)
    Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException
Run Code Online (Sandbox Code Playgroud)

你现在如何在 webflux 中解决这个问题?

java spring webclient spring-webflux

39
推荐指数
7
解决办法
4万
查看次数

标签 统计

java ×1

spring ×1

spring-webflux ×1

webclient ×1