嗯,我有一个项目,某些属性可以由用户更改,而其他属性则不能。即:
- base_dir_pictures can be changed by user because they can choose another directory to save your images
- number_threads can't be changed by user.
因此,通过Spring Cloud Config,我所有的属性都将保存在GIT中,对于“ number_threads”属性来说还可以,但是关于“ base_dir_pictures”,我应该使用Spring Cloud COnfig吗?有什么更好的使用方法?