Spring Cloud Commons Bootstrap is not enabled by default for Spring-Cloud-2022.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java, spring, spring-boot
- Domain
- documentation
Research direction
Start with the Spring Cloud 2022.0 release notes wiki, the migration guide, and the linked spring-cloud-commons changeset. Update the breaking-changes explanation to cover the bootstrap behavior and document that adding spring-cloud-starter-bootstrap enables it; done means both upgrade guidance and starter usage are accurately described.
Written by the indexing model from the issue text.
Description
Describe the bug
Really I'm just suggesting changes to breaking changes list, and to add spring-cloud-bootstrap-starter to spring-cloud-commons documentation so people can more easily make upgrades or get started with using Bootstrap configurations. Specifically:
spring.config.use-legacy-processing=true no longer enables bootstrap because of changes in Spring Boot 3.0. Please use spring.cloud.bootstrap.enabled=true.
Does not adequately describe the side-effects of the changeset here
Source: https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2022.0-Release-Notes
Steps to reproduce:
- Use a spring cloud project prior to 2022, using a spring.factories class pointing to BootstrapConfiguration files. Do not use spring-cloud-starter-bootstrap
- Upgrade to 2022, following the migration guide
Expectations:
- Breaking changes list above describes that "spring.cloud.bootstrap.enabled does not default to true anymore." Users must.... [see Actual Behavior]"
- Add section that "spring-cloud-starter-bootstrap" will auto enabled bootstrap?
Actual behavior:
- BootstrapConfiguration does not load, until a system property is set as described above, or spring-cloud-bootstrap-starter is added which adds the Marker.java class that enabled BootstrapConfiguration initialization again.
- Dominant language
- No language data
- Stars
- 953
- Forks
- 185
- Avg merge
- 7h 5m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spring-cloud/spring-cloud-release
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
spring-cloud/spring-cloud-release#217 · 1 comment ·
-
waiting for votes
Difficulty 3/5 1-2 days Newbie friendliness 55/100
spring-cloud/spring-cloud-release#451 · 13 comments · 4 reactions ·
-
for team discussion
Difficulty 5/5 Over a week Newbie friendliness 25/100
spring-cloud/spring-cloud-release#301 · 12 comments ·
All issues in spring-cloud/spring-cloud-release
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
priority-0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 88/100