spring-cloud / spring-cloud/spring-cloud-config

Persistent cache of properties on config client

Open
#157 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
2k
Forks
1.3k
Avg merge
2d 59m
Merged PRs (30d)
16

Description

I don't know whether others would find such a feature useful as one should really make sure config server is highly available. However, when I suggested that we use this awesome open source tech for centralizing our properties, I was asked to provide a failsafe feature on the client-side. Basically, if enable and path set, the client will create and update a failsafe properties file that contains all properties acquired from the config server last. If cannot connect, it will use the failsafe config.

Of course, this would open a discussion about should failsafe happen what kind of notification should take place. In our case, the requirement is simply to log a warning that this took place. A technique like this may already be doable with client as is and I just don't see it?

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

The issue names no files, tests, or entry points, so first inspect the config client’s existing property acquisition and connection-failure handling. Define the persistent failsafe file’s enablement, path, update, fallback, and warning behavior, then add coverage for successful updates and unavailable config-server fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.