You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of spring-projects/spring-framework#23884, Spring Framework supports configuring buffering limits on the webflux codecs (both client and server). We should add a configuration property for that, once we've decided what to do with #18827 first.
The text was updated successfully, but these errors were encountered:
Hello @egor-ryashin, this issue is about adding a new spring.codec.max-in-memory-size configuration property in Spring Boot. This new property is available now, you can use it like this:
spring.codec.max-in-memory-size=1MB
Doing so will configure the default codecs to use this maximum size, and you can then configure your WebClient using the WebClient.Builderinstance auto-configured by Spring Boot:
@Service
public class MyService {
private final WebClient webClient;
public MyService(WebClient.Builder webClientBuilder) {
this.webClient = webClientBuilder.baseUrl("https://example.org").build();
}
}
The code you're pointing at is not part of Spring Boot, but is actually Spring Framework. This code is used by Spring Boot for this feature and is tested, as shown in the linked commit on this issue.
Is your project overriding the Spring Framework version? Maybe there's a corrupt JAR in your local repository?
In any case, could you create a new issue with a project reproducing the problem?
As of spring-projects/spring-framework#23884, Spring Framework supports configuring buffering limits on the webflux codecs (both client and server). We should add a configuration property for that, once we've decided what to do with #18827 first.
The text was updated successfully, but these errors were encountered: