commit | 11dc687ace493653a803e853b2feccd2be425721 | [log] [tgz] |
---|---|---|
author | min <z82507200@gmail.com> | Thu Aug 01 14:53:49 2019 +0800 |
committer | GitHub <noreply@github.com> | Thu Aug 01 14:53:49 2019 +0800 |
tree | 57616dcca0bdfe1054c7cdc3c314515fa8a48da5 | |
parent | 6130e36a7c8b5ad4a7a6100d55c73055728ab8e3 [diff] | |
parent | 660a69b607e3f424c45d2fe7c18962c5617a2702 [diff] |
Merge pull request #14 from qixiaobo/fix-no-args-method dubbo-proxy throws npe while invoking no arguments method
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