question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document new spring.config.import=configserver: way of importing from config server

See original GitHub issue

I think there’s something missing. Maybe just documentation? A simple app with the config starter no longer tries to connect to the config server on startup. It looks like maybe I need to set spring.config.import=optional:configserver:http://localhost:8888 to get back to the old default behaviour? Maybe we could make that the default again to make it easier to migrate existing apps?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
celcius112commented, Nov 6, 2020

I was also a bit lost before stumbling on this issue. Some documentation would be great.

However, as default behavior, couldn’t spring-cloud-config configure the spring.config.import=optional:configserver property using the spring.cloud.config.uri one ? As far as I see the uri property becomes useless there

Read more comments on GitHub >

github_iconTop Results From Across the Web

No spring.config.import property has been defined
Spring Boot 2.4 introduced a new way to import configuration data via the spring.config.import property. This is now the default way to bind...
Read more >
Spring Cloud Config Server
If you use Spring Cloud Config Client, you need to set the spring.config.import property in order to bind to Config Server. You can...
Read more >
Spring Cloud Config Server: Step by Step - DEV Community ‍ ‍
Step 1) Create the Spring Cloud Config Server · 1.2 Update the Main Class · 1.3 Create a git repo with the properties...
Read more >
Quick Intro to Spring Cloud Configuration - Baeldung
To complete our server, we have to initialize a Git repository under the configured url, create some new properties files, and populate them...
Read more >
Spring Cloud Config Server: Step by Step
1.1) Create a Sprig Boot App · 1.2 Update the Main Class · 1.3 Create a git repo with the properties file ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found