Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Cloud Config Client fallback mechanism #2701

Open
mnie0508 opened this issue Jan 11, 2025 · 0 comments
Open

Spring Cloud Config Client fallback mechanism #2701

mnie0508 opened this issue Jan 11, 2025 · 0 comments

Comments

@mnie0508
Copy link

improvement feature for errorhandling: related ticket: #1569

#1569

To address scenarios where the Spring Cloud Config Server becomes unavailable (e.g., due to network issues or downtime), I propose adding an OnRemoteError callback or event mechanism to Spring Cloud Config Client. This feature would allow services to define their own fallback behavior, whether it is loading configuration from local files, databases, custom sources or implementing other context specific errorhandling related logic.

Note I am not suggesting you maintain any logic for loading the fallback properties directly. Instead, I am proposing an OnRemoteError callback or event that allows the services or projects to handle error management themselves and define their own fallback behavior.

event/callback should be made in such a phase as to allow the client to recover, using it's own choice of fallback property source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant