spring-cloud / spring-cloud/spring-cloud-config
Some suggestions for Refresh.refreshAll()
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 1.3k
- Avg merge
- 2d 59m
- Merged PRs (30d)
- 16
Description

tag1. refreshes the common configuration for a single project, such as some constants, mappings, etc.
tag2. write component configuration for redis/datasource.
Since 1 tends to have a lot of k, v .then I don't confirm where the bean refresh, I have to choose refreshAll but this will refresh redis/datasource etc. But I don't want to refresh redis/datasource
I hope to consider adding the excloude("beanName") method to support it.
as follows:
refreshScope.refreshAll().exclude({'redis','datasource'});
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.
Research direction
Start by reading the Refresh.refreshAll() entry point and the issue's distinction between common configuration and Redis or datasource configuration. Determine how bean refreshes are selected and what an exclusion API would need to specify; done means the requested behavior is defined and its effect on refreshAll is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100