spring-cloud / spring-cloud/spring-cloud-consul

Add consistency mode to KV client queries

Open
#721 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.