In the Spring Boot application, the configuration files are either application.properties or application.yml. The application.yml config file will contain application-related configurations, such as server port, JPA configuration, and data source configuration.
In the case of the Spring Cloud application, we need some configurations that would be used in multiple microservices. We require two types of configuration files in the case of the Spring Cloud application. These files are:
- The Bootstrap application configuration file (bootstrap.yml)
- The application configuration file (application.yml)
By default, Bootstrap properties are added with high precedence, so they cannot be overridden ...