You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/27 09:14:22 UTC
[GitHub] [dubbo] yipixiaofeiyang edited a comment on issue #8359: Could not resolve placeholder 'dubbo.application' in value "${dubbo.application}"
yipixiaofeiyang edited a comment on issue #8359:
URL: https://github.com/apache/dubbo/issues/8359#issuecomment-887348195
> 项目中dubbo相关的配置是怎么样的?
spring-dubbo.xml
`<dubbo:application name="${dubbo.application}">
<dubbo:parameter key="qos.enable" value="false" />
</dubbo:application>
<!--使用 zookeeper 注册中心暴露服务,注意要先开启 zookeeper-->
<dubbo:registry address="${dubbo.address}"/>
<!-- 元数据 -->
<dubbo:metadata-report address="${dubbo.metadata}"/>
<dubbo:config-center address="${dubbo.address}" check="false" timeout="60000"/>
<!-- 基础组件 -->
<dubbo:reference interface="com.wqh.common.service.CodeGroupService" id="codeGroupService" retries="${dubbo.retries}" check="${dubbo.check}"/>`
dubbo.properties
`dubbo.application=wqh-app
dubbo.address=zookeeper://192.168.11.100:2181?backup=192.168.11.101:2181
dubbo.retries=3
dubbo.check=false
dubbo.metadata=zookeeper://192.168.11.100:2181?backup=192.168.11.101:2181`
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org