Jprotobuf-rpc-socket icon indicating copy to clipboard operation
Jprotobuf-rpc-socket copied to clipboard

Protobuf RPC是一种基于TCP协议的二进制RPC通信协议的Java实现

Results 47 Jprotobuf-rpc-socket issues
Sort by recently updated
recently updated
newest added

Fixes #94. 在 RpcChannel 的netty发送失败时回调 callback,以保证正确的错误信息被透出以及加速失败的响应耗时。

Netty channel 在发送消息到server端时可能出现失败,但是目前没有对channelFuture进行处理,导致只能依靠超时来确保不会完全hang住,但这种方式丢失了正确的异常栈,让问题很难排查。 https://github.com/baidu/Jprotobuf-rpc-socket/blob/master/jprotobuf-rpc-core/src/main/java/com/baidu/jprotobuf/pbrpc/transport/RpcChannel.java#L141 这是使用 arthas 捕获到的一个特殊case的异常信息,但是在任何地方都没有对异常进行处理,最终只能等待RPC调用超时。 ``` method=io.netty.channel.AbstractChannelHandlerContext.writeAndFlush location=AtExit ts=2024-02-20 11:52:40; [cost=0.064681ms] result=@ArrayList[ io.netty.handler.codec.EncoderException: java.lang.RuntimeException: Negative initial size: -736704836 at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:104) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968) at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)...

We would like to leverage the `CompletableFuture` capabilities, but that feature does not exist in version 4.1.4. We were wondering if an updated release is scheduled soon that might contain...

https://github.com/baidu/Jprotobuf-rpc-socket/blob/master/jprotobuf-rpc-core/src/main/java/com/baidu/jprotobuf/pbrpc/data/RpcRequestMeta.java ``` /** 分布式追踪 Parent Span ID. */ @Protobuf(order = 6) private Long parentSpanId; /** 扩展字段. */ @Protobuf(order = 7) private List extFields; /** 非PbRpc规范,用于传输额外的参数. */ @Protobuf(fieldType = FieldType.BYTES, order...

![image](https://user-images.githubusercontent.com/78527112/167555235-091afc55-80c5-4560-b1b3-c2a6c8bb9134.png) Hi! I found the pom file of project **_com.baidu:jprotobuf-rpc-ext-validator:4.2.1_** introduced **_25_** dependencies. However, among them, **_4_** libraries (**_16%_**) are not used by your project. I list the redundant dependencies...

后端用C++ 实现的,所以已经有proto 定义的IDL 对象了; 但是客户端是java,想用jprotobuf来做客户端,但是提示客户端传递的对象必须使用@Protobuf 标注。 如果能都用proto 来定义对象,那么前后端就统一了。

Bumps [spring-web](https://github.com/spring-projects/spring-framework) from 3.2.11.RELEASE to 6.0.0. Release notes Sourced from spring-web's releases. v6.0.0 See What's New in Spring Framework 6.x and Upgrading to Spring Framework 6.x for upgrade instructions and...

dependencies

Bumps [spring-web](https://github.com/spring-projects/spring-framework) from 2.5.6.SEC03 to 6.0.0. Release notes Sourced from spring-web's releases. v6.0.0 See What's New in Spring Framework 6.x and Upgrading to Spring Framework 6.x for upgrade instructions and...

dependencies

As for the connection pool, the idle object after `minEvictableIdleTimeMillis` is evicted in Evictor thread. Evictor thread is started only when `timeBetweenEvictionRunsMillis > 0`, and default `timeBetweenEvictionRunsMillis` is -1. However,...

Bumps log4j-core from 2.17.0 to 2.17.1. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.logging.log4j:log4j-core&package-manager=maven&previous-version=2.17.0&new-version=2.17.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies