Spring Boot Profiles | Profiles in Spring Boot | Managing Multiple Configuration in Microservices

Опубликовано: 29 Сентябрь 2024
на канале: Prashant Rana
9,135
145

in this video we will learn what Spring Profiles are and how we can utilize them to achieve environment specific configuration for your Spring Boot Microservices. And how we can segregate diff configuration files for each Environment.

Spring Profiles helps segregating your application configurations, and make them available only in certain environments.  An application run on many different environments. For example, Dev, QA, Test, Stage, Production etc.


Spring Cloud Playlist -    • Spring Cloud Consul | Key Value Store...  

Spring Boot Profile Config - Using this config we activate spring profiling in our project
spring.profiles.active=dev


#java #springboot #springprofiles