commit | 924e7f7e96b7f4f98861175239d4d2d62b554e77 | [log] [tgz] |
---|---|---|
author | DLive <xsxgmail@163.com> | Tue Apr 23 23:37:48 2019 +0800 |
committer | DLive <xsxgmail@163.com> | Tue Apr 23 23:37:48 2019 +0800 |
tree | de90fecbb12afa195320a3df11dc50cdfdac0a17 | |
parent | b05a77652b70a958d5a83c6e7d4581d131ccfb26 [diff] | |
parent | 46d8c1b101c30a1a5b2250e69ebbb3ea9f1f31df [diff] |
Merge branch '0.3.0'
Apache Dubbo Erlang Implementation.
The following features are supported.
Add dubblerl to rebar.config with your project
{deps, [ {dubboerl, {git, "http://github.com/dubboerl/dubboerl.git", {branch, "master"}}} ]}.
Use erlanalysis tool transfer java interface to erlang lib. And add the lib to you project app dir.
configure dubbo reference.
in sys.config add dubboerl config. For example:
{dubboerl,[ {zookeeper_list,[{"127.0.0.1",2181}]}, {application,<<"testdubboerl">>}, {consumer,[ {<<"me.dlive.dubboservice.service.IProcessData">>,[]} ]}, {provider,[ {scherdule_impl,scherdule_behaviour,<<"me.dlive.dubboservice.service.Scherdule">>,[]} ]} ]}
Init dubboerl application context when your project start.
dubboerl:init().
Do your interface method invoker.
RequestPara = #testReq{name = <<"nameinfo">>,nick = <<"nickinfo">>,age = 10}, iProcessData:queryinfo(Info,[]).
Reference the demo project dubboerl_demo