commit | 9faa6a115e97fc19e83887a50073c1df5e57a994 | [log] [tgz] |
---|---|---|
author | min <z82507200@gmail.com> | Thu Aug 01 17:04:45 2019 +0800 |
committer | GitHub <noreply@github.com> | Thu Aug 01 17:04:45 2019 +0800 |
tree | ef7aa3ee0fa6912dc364cd01aa7dbd76d73d0671 | |
parent | 11dc687ace493653a803e853b2feccd2be425721 [diff] | |
parent | ddc6c5e695f8fea952073e02dc099466ffc095f2 [diff] |
Merge pull request #6 from qixiaobo/fix-group-for-register dubbo group not set for reference
Dubbo Proxy, a gateway of Dubbo, switch from HTTP request to Dubbo protocol,then invoke Dubbo service and return to the result. Later Dubbo Proxy would combine several features, including circuit breaker, current-limiting, api management.
HTTP request format:
{application Name}/{Interface name}?version={version}&group={group}
Group and version is the mapping data in Dubbo service.
http POST body:
{ "methodName" : "sayHello", "paramTypes" : ["org.apache.dubbo.demo.model.User"], "paramValues": [ { "id": 23, "username": "testUser" } ] }
application.yml
proxy.registry.address: zookeeper://127.0.0.1:2181 #registry center address, same as Dubbo service's proxy.metadata-report.address: zookeeper://127.0.0.1:2181 #metadata center address, used by paramType search, support for dubbo 2.7 or later