Skip to content

Potential error in replacement for 'spring.codec.max-in-memory-size' in 3.5.0 #46162

@avoldsund

Description

@avoldsund

In SB 3.5.0 I get the following warning in my application.properties file
Deprecated configuration property 'spring.codec.max-in-memory-size'

The recommended fix is
Use replacement key 'spring.http.codec.max-in-memory-size'

It seems like a switch from CodecProperties to HttpCodecsProperties should be done as well, but in https://docs.spring.io/spring-boot/api/java/org/springframework/boot/autoconfigure/http/codec/HttpCodecsProperties.html it has
@ConfigurationProperties("spring.http.codecs").

Should the recommendation for replacement be spring.http.codecs.max-in-memory-size? I.e. codecs instead of codec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions