Skip to content

Spring Boot support: use annotation processor org.springframework.boot.autoconfigureprocessor.AutoConfigureAnnotationProcessor in builds #377

@YannCebron

Description

@YannCebron

It seems Spring Cloud is currently not using above AP which generates additional metadata in META-INF/spring-autoconfigure-metadata.properties, storing a number of annotations/attributes for auto-configuration classes.

This information can be used both by Spring Boot to avoid classloading on startup by reading this metadata instead of loading/inspecting annotations of all autoconfiguration classes.
Furthermore, this metadata is already used by tools (e.g. IntelliJ IDEA's Spring support) to achieve a similar goal.

Given the large total # of autoconfiguration classes across all Spring Cloud -* projects, this seems a worthwhile step to improve performance.

PS: I'm unsure whether this is the correct subproject, but obviously it should be applied across all Spring Cloud projects providing autoconfiguration classes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions