GitHub user panxd98 deleted a comment on the discussion: RocketMQ5 Proxy 
将消息写入remotingCommand

把写入到bytebuffer的代码改成这样好像就可以了,应该是put的时候不会自动更新index值的原因。
```
byteBuffer2.put(msgByte,index,msgByte.length);
```
这里好像没有缺少写入所有msg的接口

GitHub link: 
https://github.com/apache/rocketmq/discussions/8144#discussioncomment-9453398

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org

Reply via email to