You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "yuxiao97 (GitHub)" <gi...@apache.org> on 2019/01/18 07:01:22 UTC

[GitHub] [incubator-dubbo] yuxiao97 commented on issue #2128: should use dubbo.qos.port instead of dubbo.application.qos.port about set qos port?

我用的2.6.0发现无法禁用qos-server,源码截图如下
![image](https://user-images.githubusercontent.com/27430795/51370148-10c1e200-1b31-11e9-9564-b21201bb632b.png)
是否启用qos-server,在2.6.0+的版本中可以配置了,配置代码如下:
```
<dubbo:application name="demo-server" >
        <dubbo:parameter key="qos.enable" value="false" />
        <dubbo:parameter key="qos.port" value="33333"/>
        <dubbo:parameter key="qos.accept.foreign.ip" value="*"/>
    </dubbo:application>
```
在服务封装URL时,会把配置参数配置到URL,qos-server启动时会检查配置参数,2.6.1的源码截图如下:
![image](https://user-images.githubusercontent.com/27430795/51370392-e7ee1c80-1b31-11e9-9918-874af0a010dc.png)


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2128 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org