We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused by: org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144 at org.springframework.core.io.buffer.LimitedDataBufferList.raiseLimitException(LimitedDataBufferList.java:99) ~[spring-core-5.3.16.jar:5.3.16] Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
spring: codec: max-in-memory-size: 100MB
WebClient
ExchangeStrategies
@Bean fun webClient() = WebClient.builder() .baseUrl(baseUrl) .defaultHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_FORM_URLENCODED_VALUE) .defaultHeader(HttpHeaders.USER_AGENT, "Mozilla/5.0") .exchangeStrategies( ExchangeStrategies.builder() .codecs { configurer -> configurer.defaultCodecs() .maxInMemorySize(-1) // unlimited mem size }.build() ).build()
The text was updated successfully, but these errors were encountered:
occidere
No branches or pull requests
상황
원인
해결
WebClient
빌드 시ExchangeStrategies
를 사용하여 codec 을 주입해야 함참고
The text was updated successfully, but these errors were encountered: