apache / rocketmq-client-cpp

Apache RocketMQ cpp client

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consumer can normally consume message, but subscription detail and consume type and mode display unusual.

humkum opened this issue · comments

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)?

When I run a cpp consumer, I found that there's no clientID information in subscription in console, but the consumer can normally consume. As follows:

Can normally consume:
image

Subscription detail display unusual:

image

Didn't show subsciption's consume type and consume mode:

image

  • What did you expect to see?

The reason for subscription detail display unusual is the json format of ConsumeRunningInfo is incompatible with RocketMQ Java main project.

The reason for client didn't show consume type and consume mode is that c client send enum element as 0/1/2,which can't be parsed by RocketMQ Java main project.

  • What did you see instead?
  1. Please tell us about your environment:
  • What is your OS?

  • What is your client version?

  • What is your RocketMQ version?

  1. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):