apache / apache/rocketmq-client-cpp

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

Đang mở
#402 0 bình luận 0 reaction 0 người được giao 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:

- 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](https://user-images.githubusercontent.com/50660789/152937023-a9f8d8d9-fe0b-4d4e-b2fe-d70e5b183b20.png)

Subscription detail display unusual:

![image](https://user-images.githubusercontent.com/50660789/152937279-cfa7a5ab-d36f-43fa-a002-ec09bbb264d7.png)

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

![image](https://user-images.githubusercontent.com/50660789/152937467-49410be9-6f75-4894-bc26-65a206986167.png)

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

2. Please tell us about your environment:

- What is your OS?

- What is your client version?

- What is your RocketMQ version?

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

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

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

Đánh giá

Issue này chưa được đánh giá.

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.