Questions tagged [spring-cloud-config-client]

The default behavior for any application that has the Spring Cloud Config Client on the classpath is as follows: When a config client starts, it binds to the Config Server (through the spring.cloud.config.uri bootstrap configuration property) and initializes Spring Environment with remote property sources.

The net result of this behavior is that all client applications that want to consume the Config Server need a bootstrap.yml (or an environment variable) with the server address set in spring.cloud.config.uri (it defaults to "http://localhost:8888").

24 questions
0
votes
0 answers

Integration HashiCorp Vault and Spring Cloud Config Server for few client-services

I need to integrate Vault with spring cloud config server. For example, I have two client services, spring cloud config server and Vault. I need that my clients will go to the spring cloud config server and he will back settings (from git for…
0
votes
1 answer

Cloud config starts throwing errors about missing repository

Intro We have a cloud config service based on spring cloud-cloud-config that connects to a bitbucket repository. For the most part, things are working fine. However, once in a while we get an error suddenly and it mentions a repository in the…
Menelaos
  • 23,508
  • 18
  • 90
  • 155
0
votes
0 answers

Is it possible to make auto-refresh properties for Spring Cloud clients in a **multi-pod** environment

Is it possible to make auto-refresh properties for Spring Cloud clients in a multi-pod environment (Google Kubernetes Engine)? I found several work arounds: Using Spring Cloud Bus (too heavy solution). Running refresh inside code using RefreshEvent…
0
votes
0 answers

Pivotal Spring Cloud Services Dependencies v3.5.0 - 401 - Unauthorized Error - when communicating with Config Server

We recently migrated our application to Spring Boot 2.7.6 as part of this migration we also upgraded Spring Cloud Service Dependencies version to 3.5.0 (BOM) implementation…
0
votes
0 answers

Public variabes are unable to fetch its values after using @Refreshscope

I was able to get the public variable assigned in my one of configuration class. But after using the annotation @Refreshscope Im getting null value instead of actual. Im getting the value when using the getter but not getting while accessing…
0
votes
0 answers

How to fetch configurations from multiple sub directories of git repo using spring cloud config..?

How to fetch configurations from multiple sub directories of git repo using spring cloud config..? I tried with below spring: application: name: entity-explorer-ms profiles: active: ${spring.profiles.active} cloud: config: …
0
votes
0 answers

How to enable RefreshScope for all beans in Spring boot app? And will that cause any performance issues?

How can I enable spring app to refresh all beans automatically without using @RefreshScope on every single bean when there is any change on spring-cloud-config-server properties file? And will that have any performance issues?
0
votes
1 answer

Refreshing configurations of microservices based on messaging topic

I have a spring cloud configserver in place and we are using s3 as a version control. I have activemq for sending topics which will later be consumed by the microservices. Now we need to refresh the configuration of microservices depending upon the…
0
votes
1 answer

Consuming Spring Cloud Config Server configuration through a NestJS application with encrypted data

Currently I'm working trying to read the Spring Cloud Config Server configurations through a NestJS app. I found some packages like cloud-config-client and node-scc-config but I need to decrypt some keys that are encrypted using JCE. The endpoint is…
1
2