apache / apache/rocketmq-client-cpp

batch message format of code is error

未关闭
#447 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
393
派生
167
PR 合并指标
30 天内没有已合并 PR

描述

批量消息体格式异常:SOH ,STX

{{"a":1,"uKey":"DeviceLogEvent","deviceModelId":"1036598151955419136","commonEventClass":"","level":"","eventType":"DeviceLogEvent","serverIp":"10.42.33.107","driverId":"1036598288685535232","enterpriseId":"715155051637899264","date":"2022-11-27 10:20:49.394"}bKEYSgatewayUID:undefinedTAGSDeviceLogEventUNIQ_KEY0A2A216B00081BCD450B881DB9740000WAITtrue{{"b":2,"uKey":"DeviceLogEvent","deviceModelId":"1036598151955419136","commonEventClass":"","level":"","eventType":"DeviceLogEvent","serverIp":"10.42.33.107","driverId":"1036598288685535232","enterpriseId":"715155051637899264","date":"2022-11-27 10:20:49.394"}bKEYSgatewayUID:undefinedTAGSDeviceLogEventUNIQ_KEY0A2A216B00081BCD450B881DB9740001WAITtrue

![image](https://user-images.githubusercontent.com/31500407/204118138-e193c6d7-5bfe-4060-a1c9-1af172f0139c.png)

贡献指南

打开贡献指南

调研方向

Start by reproducing the reported batch payload containing SOH and STX control characters, using the message data and image attached to this issue. Trace the C++ client’s batch-message formatting path and compare the generated bytes with the expected RocketMQ batch format. Done means the batch payload format is identified and corrected, with a regression test covering the reported data.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
distributed-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。