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

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

Results 90 sofa-rpc issues
Sort by recently updated
recently updated
newest added

在使用sofa-hessian-go这个库时,使用hessian序列化的场景下,用户手动构造`com.alipay.sofa.rpc.core.response.SofaResponse`会导致异常。 SofaRPCResponse的结构体如下 ``` type SofaRPCResponse struct { IsError bool `hessian:"isError"` ErrorMsg string `hessian:"errorMsg"` AppResponse interface{} `hessian:"appResponse"` ResponseProps map[string]string `hessian:"responseProps"` } func (s *SofaRPCResponse) GetJavaClassName() string { return "com.alipay.sofa.rpc.core.response.SofaResponse" } ```...

### Frequently creating Fury instance lead to FGC During `encode` and `decode`, `fury.setCassloader` and `fury.clearClassloader` are called before and after the actual serialization part; threadLocalFury are applied as default, arising...

bug
later

项目不同的环境是以不同实例在注册中心sofaregistry区分的,例如 "github.clyoudu.sofa.api.CalculatorService:1.0@DEFAULT#@#DEFAULTINSTANCEID#@#SOFA" "github.clyoudu.sofa.api.CalculatorService:1.0@DEFAULT#@#GHFVJuGvHhH#@#SOFA" 这两个服务名相同,只是实例不同,怎么在进行泛化调用时指定实例,因为不同实例对应不同环境,代码可能不一样

### Motivation: The method-level `timeout` config is `Integer` type which accepts `null` value. So if we add method config and set the method-level `timeout` to null, a `timeout=null` might be...

bug
question
cla:yes
size/M

Bumps [com.alibaba:fastjson](https://github.com/alibaba/fastjson) from 1.2.58 to 1.2.83. Release notes Sourced from com.alibaba:fastjson's releases. FASTJSON 1.2.83版本发布(安全修复) 这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。 安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523 FASTJSON2已经发布并且提供兼容包,性能更好也更安全,升级指南 https://github.com/alibaba/fastjson2/wiki/fastjson_1_upgrade_cn Issues 安全加固 修复JDK17下setAccessible报错的问题 #4077 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/ 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98 源码 https://github.com/alibaba/fastjson/tree/1.2.83 2.0.x...

dependencies

### Your question Consumer中,ConnectConnectionHolder负责管理所有provider的长连接。 其中,com.alipay.sofa.rpc.client.AllConnectConnectionHolder#startReconnectThread 函数,会启动一个异步线程,每隔一段时间去检查的长连接是否健康。 如果AllConnectConnectionHolder中的aliveConnections(存活的客户端列表)无法连接,就会将该长连接从aliveConnections中移除,加入到retryConnections(失败待重试的客户端列表)中,假如retryConnections中的连接恢复正常,会把该长连接从retryConnections中移除,加回至 aliveConnections中。 这段逻辑见:com.alipay.sofa.rpc.client.AllConnectConnectionHolder#doReconnect 函数。 ``` private void doReconnect() { // 省略代码 // 检查可用连接 for (Map.Entry alive : aliveConnections.entrySet()) { ClientTransport connection = alive.getValue(); if...

### Motivation: Explain the context, and why you're making that change. To make others understand what is the problem you're trying to solve. ### Modification: Describe the idea and modifications...

cla:yes
First-time contributor
size/M

## Summary by CodeRabbit - **New Features** - Updated project title for improved clarity. - Enhanced web presence with updated URLs for the project and organization, ensuring security and relevance.

bug
cla:yes
size/XS

使用sofa-rpc 想要在nacos上注册服务。但是发现版本对应的服务器 连接不上。而且缺少对应的案例 ![image](https://github.com/user-attachments/assets/a4d02ba2-e81a-4e29-86bc-2853f8f7def9) 官方文档 几乎不更新。麻烦更新下。 当前使用5.11.1 .比如服务和客户端对应的版本。试了好几个都换到1.0.0都不行。

This is a Work In Progress pull request for issue #1428. ### Modification: Integrate Zookeeper as configuration center with ZookeeperDynamicConfigManager. Integrate Nacos as configuration center with NacosDynamicConfigManager. Support dynamic config...

cla:yes
First-time contributor
size/XXL