You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/02/26 06:39:15 UTC

[GitHub] [servicecomb-java-chassis] jormungandr723 edited a comment on issue #1549: edge 配置文件写多个注册中心报错

jormungandr723 edited a comment on issue #1549: edge 配置文件写多个注册中心报错
URL: https://github.com/apache/servicecomb-java-chassis/issues/1549#issuecomment-591265017
 
 
   我把原来microservice.yaml  内所有内容移到了 application.yml 里面。断点后发现,servicecomb. Service. Registry.address 值("http://192.168.0.2:30100,http://192.168.0.71:30100")在microservice.yaml时,会去走com.netflix.config.ConcurrentMapConfiguration 内addPropertyValues,而在application.yml则不会,导致启动失败。
   写在microservice.yaml 内的多个注册中心会被分割成list,写在 application.yml 则是直接读取。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services