java - SpringCloud config 注册服务后client取值问题
PHP中文网
PHP中文网 2017-04-18 10:35:28
0
2
735
PHP中文网
PHP中文网

认证0级讲师

reply all (2)
巴扎黑

The reason has been found. The spring.application.name of config-client must match its own configuration file name.

For example, the configuration file is:
testConfig-test.properties

At this time, the corresponding spring.application.name=testConfig of config-cleint

    小葫芦

    What about the client’s property configuration? The client needs to point to the configuration server. And can testConfig-test.properties be renamed?

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!