dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] chutian52 commented on issue #2336: Spring Boot集成Dubbo, Dubbo读取不到Config Server配置文件里配置
Date Fri, 24 Aug 2018 09:32:32 GMT
chutian52 commented on issue #2336: Spring Boot集成Dubbo, Dubbo读取不到Config Server配置文件里配置
URL: https://github.com/apache/incubator-dubbo/issues/2336#issuecomment-415706653
 
 
   Dubbo默认是读取application.properties/application.yaml中的配置,Dubbo的解析是通过ConfigUtils来实现的。你可以写一个类集成EnvironmentPostProcessor,把Environment中的所有的Dubbo配置都写进来。
   或者你可以使用Dubbo Spring Boot Project。最好是让你的EnvironmentPostProcessor执行在Config拉取之后,应该可以解决你的问题

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message