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/11/13 01:45:25 UTC

[GitHub] [servicecomb-java-chassis] zhangaijing commented on issue #2049: Nacos配置的数据已经获取但无法注入到项目中

zhangaijing commented on issue #2049:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2049#issuecomment-726453587


   现在报不同的错误,估计应该还是没有注入配置.
   ![image](https://user-images.githubusercontent.com/16713552/99018305-b7903180-2594-11eb-99cc-42b321479a08.png)
   
   servicecomb的配置:
   servicecomb:
     config:
       refreshMode: 1
       refresh_interval: 15000
       serverUri: 'http://127.0.0.1:30100'
     uploads:
       directory: tmp
       maxSize: -1
     credentials:
       secretKey: 65nxJddaf9w17QNeVFi3Rwkp3Oh0fxBqiPvO6rHe
       akskCustomCipher: default
       accessKey: KZYQW9GQUYIU5G7ONCAV
     rest:
       server:
         thread-count: 10
       address: '0.0.0.0:${server.port}'
     service:
       registry:
         address: 'http://127.0.0.1:30100'
         instance:
           watch: 'false'


----------------------------------------------------------------
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