@PropertySource(
    SERVICE_YAML_LOCATION_PATTERN,
    factory = YamlPropertyLoaderFactory::class,
)
class ServiceYamlPropertiesLoader

and

@PropertySource(
    "classpath:config-service-local-settings.yaml",
    factory = YamlPropertyLoaderFactory::class,
)
object ConfigurationPropertySourceLocal : ConfigurationPropertySource

org.springframework.cloud.bootstrap.BootstrapConfiguration=\ config.service.configuration.ServiceYamlPropertiesLoader,\ config.service.configuration.ConfigServiceBootstrapConfiguration

Use two classes with the same loader in @Propertysource. But the settings of one disappear. The question is why? I fixed it by starting to load some settings as .properties

I can't use @PropertySources in may case

Comment From: ryanjbaxter

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

Comment From: spring-cloud-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.