apache / apache/rocketmq-client-cpp
Message trace is not compatible with RocketMQ main project
- 主要語言
- C++
- 星號
- 393
- 分支
- 167
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**BUG REPORT**
1. Please describe the issue you observed:
By opening message trace of c interface,we found question as follows:
- Log print error message like :
`(error):processSendResponse error remark:topic[rmq_sys_TRACE_DATA_DefaultRegion] not exist, apply first please! See http://rocketmq.apache.org/docs/faq/ for further details., error code:17[processSendResponse:552]`
- Search message trace from console, return an error code '14'.

The reasons for the above two problems are
- The trace topic is incompatible with the RocketMQ main project's, which is "RMQ_SYS_TRACE_TOPIC".
- There are some missing fields of TraceTransferBean in TraceUtil.cpp, which is incompatible with RocketMQ main project, causing console parsing to fail.
2. Please tell us about your environment:
- What is your OS?
Ubuntu 18.04.5 LTS 64
- What is your client version?
2.2.0-release
- What is your RocketMQ version?
4.8.0
貢獻指南
研究方向
先從 TraceUtil.cpp 和報告中提到的 TraceTransferBean 欄位開始,然後將 C++ trace topic 和傳輸資料與 RocketMQ 主專案的格式進行比較。確認 trace topic 相容,並確認主控台的 message-trace 搜尋不再返回解析錯誤代碼 14;開始前查看已連結的 pull request #399。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp
- 領域
- distributed-systems
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100