보통은 spring cloud config를 사용하는 이유가 분산 시스템에서 애플리케이션 설정을 중앙에서 관리하기 위해서인데 몇몇 케이스에는 server와 client를 같이 띄워야 할 경우도 있다.이러한 상황에서 어떻게 설정해야 하는지 알아보자. 공식문서의 링크 : https://docs.spring.io/spring-cloud-config/reference/server/embedding.html(Embedding the Config Server) spring.cloud.config.server.bootstrapspring.cloud.config.server.bootstrap true로 설정(기본값은 false) 해당 값은 application.yml 파일이 아닌 bootstrap.yml에 해줘야 한..
[Spring] Spring Cloud Config - Server, Client 함께 띄우기
보통은 spring cloud config를 사용하는 이유가 분산 시스템에서 애플리케이션 설정을 중앙에서 관리하기 위해서인데 몇몇 케이스에는 server와 client를 같이 띄워야 할 경우도 있다.이러한 상황에서 어떻게 설정해야 하는지 알아보자. 공식문서의 링크 : https://docs.spring.io/spring-cloud-config/reference/server/embedding.html(Embedding the Config Server) spring.cloud.config.server.bootstrapspring.cloud.config.server.bootstrap true로 설정(기본값은 false) 해당 값은 application.yml 파일이 아닌 bootstrap.yml에 해줘야 한..
2025.02.17