sofa-rpc-node icon indicating copy to clipboard operation
sofa-rpc-node copied to clipboard

SOFARPC Node is a high-performance, high-extensibility, production-level Nodejs RPC framework.

Results 16 sofa-rpc-node issues
Sort by recently updated
recently updated
newest added

java 版本 sofarpc 可以通过 RpcInvokeContext 把数据给透传。想问node 版本是否支持?

需求:客户端能够获取服务端返回的meta信息 在client端,直接抛出了最终的res.data的结果,而没抛出其中的res.meta

https://github.com/sofastack/sofa-rpc-node/issues/96 在使用registry的情况下,如果有较多的地址,在这里希望能够进行部分地址增加优先级优先掉用 我的需求: 如地址1、2、3 、4、5、6。希望能够先掉用 1、2、3,并且兜底不可用情况,重新走之前的逻辑 随机掉用1-6 所以在此增加一个`balancerFilter`,在`_loadbalancer.select`之前先掉用一次,筛选出需要优先掉用的地址,优先连接一次。不可用时使用原逻辑。 例子 ```js const { RpcClient } = require('sofa-rpc-node').client; const { ZookeeperRegistry } = require('sofa-rpc-node').registry; const logger = console; // 1. 创建 zk...

enhancement

需求:希望有 addressList 固定顺序,或者是有个类似优先级的匹配逻辑、 哈喽,想问下,client [这里](https://github.com/sofastack/sofa-rpc-node/blob/master/lib/client/loadbalancer/base.js#L52)的 addressList 为什么要sort排序,默认的[roundRobin](https://github.com/sofastack/sofa-rpc-node/blob/master/lib/client/loadbalancer/weight_rr.js)看着好像也有排序。那现在还有办法【根据addressList中的数据排序】进行优先级排序吗, @fengmk2

nodejs.TypeError: Cannot read property 'hostname' of null

https://github.com/sofastack/sofa-rpc-node/runs/5521495614?check_suite_focus=true

bug

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] # 能否增加一个Nacos的NacosRegister **Describe the...

**Describe the bug** Trying to connect to JAVA server using SOFA boot, the service was connected but when I invoke the method, got error ``` RPC-02412: Cannot find invoke method...

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...