rocketmq-client-cpp icon indicating copy to clipboard operation
rocketmq-client-cpp copied to clipboard

Message trace is not compatible with RocketMQ main project

Open humkum opened this issue 3 years ago • 1 comments

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

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.
  1. 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

humkum avatar Feb 07 '22 11:02 humkum

In server end, it has different topics for tracing messages in CLOUD model from which in Local model.

ShannonDing avatar Jul 30 '22 15:07 ShannonDing