spring-cloud / spring-cloud/spring-cloud-consul
Add consistency mode to KV client queries
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 822
- Forks
- 539
- Avg merge
- 9h 31m
- Merged PRs (30d)
- 7
Description
In this issue https://github.com/spring-cloud/spring-cloud-consul/issues/556 the consistency mode was added to service discovery client, but there are more client which support this, KV for example
It's important to be able to query keys in configured consistent manner (stale in many cases is better than having "Leader not found" error)
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 with the KV client query path and compare it with the consistency-mode work in issue 556, then review Consul's KV read-key API documentation. Done means callers can configure the consistency mode for KV reads, including stale reads where appropriate, with behavior covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100