apache / rocketmq-client-cpp

Apache RocketMQ cpp client

Home Page:https://rocketmq.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Message trace is not compatible with RocketMQ main project

humkum opened this issue · 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

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