Skip to content

Spring Cloud's CachedRandomPropertySource is not adapted correctly #21595

@philwebb

Description

@philwebb

Spring Cloud recently added a CachedRandomPropertySource to add support for cached random values. Our current logic in SpringConfigurationPropertySource will not apply to this source, and since it's non-iterable ConfigurationPropertyState.UNKNOWN will always be returned.

This means that the usual optimizations that we apply to configuration property binding will not apply in Spring Cloud applications.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions