Giter VIP home page Giter VIP logo

node-dubbo's People

Contributors

kaelzhang avatar thenorthmemory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-dubbo's Issues

Error: no available children found

Error: no available children found for "/dubbo-prod/com.xxx.service.MemberService/providers"
at error (/node_modules/dubbo/lib/utils.js:22:11)
at reject (/node_modules/dubbo/lib/utils.js:28:35)
at Service._applyProviders (/node_modules/dubbo/lib/service.js:225:34)
at /node_modules/dubbo/lib/service.js:206:23
at
at process._tickDomainCallback (internal/process/next_tick.js:208:7)

连接池还没有实现?

按例子设置了pool,发现调用还是短连接方式。查看源码也没有发现pool参数的使用?

当服务提供方使用 dubbo.provider 填充默认值时,服务分组功能失效造成消费方紊乱并错误

dubbo 文档见 XML 配置 章节

标签 用途 解释
dubbo:provider/ 提供方配置 当 ProtocolConfig 和 ServiceConfig 某属性没有配置时,采用此缺省值,可选

提供方示例配置

    <dubbo:provider timeout="3000" group="${dubbo.gra.group}"/>

提供方在 zookeepter 注册当url地址即形如

dubbo://10.204.129.197:30930/com.foo.barService?anyhost=true&application=a&default.accepts=160&default.group=x&default.threadpool=fixed&default.threads=160&dubbo=2.6.0&generic=false&interface=com.foo.barInterface&methods=plus,minus&pid=1&retries=0&revision=1.0-20181012.064632-11&side=provider&timeout=120000&timestamp=1539839095326

service.js:L143

    .filter(zoo => zoo.version === this._version && zoo.group === this._group)

将过滤不掉有默认组 x 情况,造成 消费方 无法 远程调用。

建议调整为

-    .filter(zoo => zoo.version === this._version && zoo.group === this._group)
+    .filter(zoo => (zoo.version || zoo['default.version']) === this._version && (zoo.group || zoo['default.group']) === this._group)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.