apache / apache/rocketmq-client-cpp

Message trace is not compatible with RocketMQ main project

Đang mở
#398 1 bình luận 0 reaction 0 người được giao Được @humkum nhận Xem trên GitHub
Ngôn ngữ chính
C++
Star
393
Fork
167
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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'.
![image](https://user-images.githubusercontent.com/50660789/152782427-862928d8-7d4f-41f5-9049-f0c40131a5f2.png)

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with TraceUtil.cpp and the TraceTransferBean fields mentioned in the report, then compare the C++ trace topic and transfer data with the RocketMQ main project's format. Verify the trace topic is compatible and that console message-trace search no longer returns parsing error code 14; review linked pull request #399 before starting.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
distributed-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.