dubbo-node-client icon indicating copy to clipboard operation
dubbo-node-client copied to clipboard

the node module of dubbo client

Results 12 dubbo-node-client issues
Sort by recently updated
recently updated
newest added

@binlaniua 我们是 Apache Dubbo(incubating) 项目的开发同学,目前 Dubbo 项目顺利进入 Apache 正在孵化,项目主页是:https://github.com/apache/incubator-dubbo/ 我们了解到千米网在 Dubbo 方面经验充足,尤其是多语言客户端互通方面;这块我们非常有必要向你们学习;我们有一个大胆的想法,就是大家共建 Dubbo 生态;dubbo-node-client 进入https://github.com/dubbo 下面,正式成为生态的一部分。 包括贵公司的另外一个项目:https://github.com/QianmiOpen/dubbo-client-py ,我们也有同样的想法;我们真诚的期待你们能一起参与到 Dubbo 开源生态的建设中来,一起打造具有世界影响力的 Apache 开源项目。 期待你们的回复!

function (err, response, body) { if (err) { q.reject({code: 0, message: 'err.toString()'}); } 异常没有正常抛出,只抛出了一个err.toString()字符串

作者您好! 首先有个疑问,我只要加载dubbo-node-client在停止的时候往往都停止不了,也可能是我等的时间短,还还有就是 获取不到 group 的service。 还有个BUG: 在重启service后 客户端则会报以下异常: node_modules\dubbo-node-client\lib\registry\index.js:95 client.getChildren(path, ^ TypeError: Cannot read property 'getChildren' of undefined at node_modules\dubbo-node-client\lib\registry\index.js:95:19 at EventEmitter. (node_modules\dubbo-node-client\lib\registry\index.js:97:21) at EventEmitter.g (events.js:260:16) at emitOne (events.js:77:13) at...

{ state: 'pending' } Registry : 已连接上zookeeper InvokerProxy : 提供者 [com.ivan.dubbo.node.HelloService_ _1.0.0] 方法 [isPhone] Registry : 提供者 [com.ivan.dubbo.node.HelloService_ _1.0.0] HOST [192.168.203.121:9999] Registry : 订阅成功 [com.ivan.dubbo.node.HelloService_ _1.0.0] Registry : 注册失败 [com.ivan.dubbo.node.HelloService_...

Registry.prototype.getZookeeper = function () { var defer = Q.defer(); if (this.zookeeper) { defer.resolve(this.zookeeper); } //如果正在初始化中, 其他就不要初始化了, 加入队列等待 else if (this.isInitializing) { this.initQueue.push(defer.promise); } return defer.promise; }; 其中**this.initQueue.push(defer.promise); 这句代码经测试发现存在问题,你放到queue的是promise**, 然后在 this.zookeeper.once('connected',...

请问dubbo.config.js的参数和格式是怎么样的 @binlaniua

我最近也在研究nodejs如果调用dubbo服务.之前是用Java又写了一个restful的controller。nodejs调controller。后来想一下是不是可以直接调用dubbo.你这个demo可以做到吗?

# # var mHost = /^jsonrpc:\/\/([^\/]+)\//.exec(child), 如果provider的信息为: ‘http://127.0.0.1:8080/testdubbo/dubbo/com.rongan.rpc.DemoService’, 获取到的是:‘127.0.0.1:8080’,应该是'127.0.0.1:8080/testdubbo/dubbo'

//----------------------------------------------------------------------------------------------- // 获取Invoker //----------------------------------------------------------------------------------------------- Registry.prototype.getInvoker = function (invokerDesc) { var descStr = invokerDesc.toString(); this.serviceMap[descStr]; }; 是否应该增加return return this.serviceMap[descStr];