apache / apache/rocketmq-client-cpp

Message trace is not compatible with RocketMQ main project

Open
#398 1 comment 0 reactions 0 assignees Claimed by @humkum View on GitHub
Dominant language
C++
Stars
393
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.