spring-cloud / spring-cloud/spring-cloud-zookeeper
Application starts for a long time
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 574
- Forks
- 408
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 4
Description
If there are a large number of configurations in Zookeeper, it will take a lot of time to get all configs one by one when the application starts. I find nothing abount batch operation for read in curator. Eager for your advice ~
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 at spring-cloud-zookeeper-config/src/main/java/org/springframework/cloud/zookeeper/config/ZookeeperPropertySource.java around line 80 and trace how configuration entries are read during application startup. Check Curator's available read operations and measure startup behavior with many Zookeeper configurations. Done should mean a documented, agreed approach that avoids the current one-by-one startup delay, with coverage or measurements showing the improvement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100