bootstrap.yml (bootstrap.properties) is used to execute when the program is booting, and is used to read earlier configuration information, such as to configure the parameters used in application.yml;
application.yml (application.properties) is specific to the application Configuration information, which can be used to configure public parameters to be used in subsequent modules, etc.
bootstrap.yml is loaded before application.yml
Of course, you can also use bootstrap all