Skip to content

Avoid codec auto-configuration when they are not going to be used #15690

New issue

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

Closed
wilkinsona opened this issue Jan 11, 2019 · 0 comments
Closed

Avoid codec auto-configuration when they are not going to be used #15690

wilkinsona opened this issue Jan 11, 2019 · 0 comments
Assignees
Labels
theme: performance Issues related to general performance type: enhancement A general enhancement
Milestone

Comments

@wilkinsona
Copy link
Member

wilkinsona commented Jan 11, 2019

CodecsAutoConfiguration is conditional on CodecConfigurer which is part of spring-web. This means that the auto-configuration will kick in for any typical web application. This is somewhat at odds with the codecs only being used, I think, by WebClient and WebFlux. We should see if we can tighten up the conditions so that CodecsAutoConfiguration (and its inner configurations JacksonCodecConfiguration and LoggingCodecConfiguration) only kick in when more likely to be used.

@wilkinsona wilkinsona added type: enhancement A general enhancement theme: performance Issues related to general performance labels Jan 11, 2019
@wilkinsona wilkinsona added this to the 2.2.x milestone Jan 11, 2019
@bclozel bclozel self-assigned this May 21, 2019
@bclozel bclozel modified the milestones: 2.2.x, 2.2.0.M4 May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: performance Issues related to general performance type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants