GitHub user will-zdu added a comment to the discussion:
如何禁用transport.enableClientBatchSendRequest
因为做分布式调用链路追踪的时候发现,io.seata.core.rpc.netty.AbstractNettyRemotingClient#sendSyncRequest(java.lang.Object)
这个方法开启了NettyClientConfig.isEnableClientBatchSendRequest(),会将rpcMessage合并发送,合并发送也没有什么问题,问题是为什么合并发送的时候
` MergedWarpMessage mergeMessage = new MergedWarpMessage();
while (!basket.isEmpty()) {
RpcMessage msg = basket.poll();
mergeMessage.msgs.add((AbstractMessage) msg.getBody());
mergeMessage.msgIds.add(msg.getId());
}`
拷贝消息为什么把消息头没有给拷贝,做分布式链路追踪的时候就很麻烦了
禁用的问题我已经解决了,因为springboot里面配置文件优先级更高,改了springboot配置文件优先级就解决了
GitHub link:
https://github.com/apache/incubator-seata/discussions/6720#discussioncomment-10221460
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]