Spring boot configuration files in two formats, mainly .properties and .yml
1.properties
data.app.appKey = Test
2.yml
data:
app:
appKey: Test
Note: .yml format does not support annotations import configuration. @PropertySource