Which do you choose, the spring boot profile, yaml or properties?

which is better to choose? Why?

May.22,2021

  • yaml format is clear. It is recommended to give priority to
  • .
  • properties has strong applicability. jdk provides special operation classes that support localized resource configuration. In addition, @ PropertySource seems to only support properties
  • .
Menu