You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "a601942905git (GitHub)" <gi...@apache.org> on 2018/10/30 06:14:11 UTC

[GitHub] [incubator-dubbo] a601942905git commented on issue #2707: why dubbo rest protocol need to configure the registry?

but the office doc describe like this
```
<!-- 用rest协议在8080端口暴露服务 -->
<dubbo:protocol name="rest" port="8080"/>

<!-- 声明需要暴露的服务接口 -->
<dubbo:service interface="xxx.UserService" ref="userService"/>

<!-- 和本地bean一样实现服务 -->
<bean id="userService" class="xxx.UserServiceImpl" />
```
Make it easy for us to make mistakes, i think if posibble,the <dubbo:registry> should be removed.
What do you think?

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