Registry / config / spring-cloud-starter-config

spring-cloud-starter-config

JSON →
library5.0.3javamavenunverified

Spring Boot starter for Spring Cloud Config, enabling externalized configuration from a config server.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId> <version>5.0.3</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-START
S
spring-cloud-starter-config
configjavav5.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ConfigServicePropertySourceLocator
org.springframework.cloud.config.client.ConfigServicePropertySourceLocator

Demonstrates creating a config service property source locator (usually auto-configured).

import org.springframework.cloud.config.client.ConfigServicePropertySourceLocator; import org.springframework.core.env.Environment; // Typically auto-configured; manual usage: ConfigServicePropertySourceLocator locator = new ConfigServicePropertySourceLocator( new org.springframework.cloud.config.client.ConfigClientProperties(environment) ); System.out.println("Config locator created");
Debug
Known issues
breakingSpring Cloud Config requires a running config server; otherwise application fails to start.
fix
Ensure a config server is available or disable config with spring.cloud.config.enabled=false.
affects: *
Upgrade
Version history
5.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
40
Resources
spring-cloud-starter-config — mvn dependency:get spring-cloud-starter-config · libregistry