egg-dubbo-plugin
v1.1.2
Published
egg plugin to call dubbo service
Downloads
16
Readme
egg-dubbo-plugin
Install
$ npm i egg-dubbo-plugin --save
Usage
// {app_root}/config/plugin.js
exports.dubbo = {
enable: true,
package: 'egg-dubbo',
};
Configuration
use node-zookeeper-dubbo, see here.
// {app_root}/config/config.default.js
exports.dubbo = {
dubboAgent: {
application:{name:'demo-provider'},
register:'localhost:2181',
dubboVer:'2.5.4-SNAPSHOT',
root:'dubbo',
dependencies:{
Foo:{
interface:'com.alibaba.dubbo.demo.provider.DemoService',
},
}
}
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.