commit | 44f25ca6c780123c8d86f07c70506b04dc3b5936 | [log] [tgz] |
---|---|---|
author | qixiaobo <qixiaobo.nj@gmail.com> | Thu Jul 25 14:03:55 2019 +0800 |
committer | qixiaobo <qixiaobo.nj@gmail.com> | Thu Jul 25 14:03:55 2019 +0800 |
tree | cb76c8e02cacb77de19db39f8f4ccd5b410ba91e | |
parent | ba917215220a5c53cc2931d062afbc4d0bb08697 [diff] | |
parent | 60725312f22fcb6e8b84f0eb8b3941ab418dfd17 [diff] |
Merge remote-tracking branch 'upstream/master' into fix-group-for-register
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