apache / apache/rocketmq-client-cpp

[C extension]some c interface enhancement and bugfix during user using python sdk

Đang mở
#397 0 bình luận 0 reaction 0 người được giao Được @humkum nhận 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:
When we extend the Python sdk with the c interface of the c++ sdk, we find the following question:

- [x] **task 1** [#398] When we open message trace,client log shows follow error:
`(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]`
- [x] **task 2** [#400] Setting the log path does not take effect,set log path interface not implemented
```
int SetProducerLogPath(CProducer* producer, const char* logPath) {
if (producer == NULL) {
return NULL_POINTER;
}
return OK;
}
```
- [x] **task 3** [#402] The json format of ConsumeRunningInfo is different from the format required by the broker side, resulting in an error in the display of subscription group details
![image](https://user-images.githubusercontent.com/50660789/152760153-b9547990-aa2f-4c42-8e4a-037be67ba78c.png)

- [ ] **task 4** The obtained local IP in clientID is 127.0.1.1
![image](https://user-images.githubusercontent.com/50660789/152761993-4f6f587f-6488-4e5e-8f4c-8c9a53f2a829.png)

- [x] **task 5** [#404] By using Python sdk,the language displayed by the console was still "CPP",should add c interface to change language type.
![image](https://user-images.githubusercontent.com/50660789/152762422-f4f40060-ed5f-4fac-866f-55dfd258cfdc.png)

- [ ] **task 6** The configuration of the single log size and the maximum number of saved logs does not take effect.

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):

**FEATURE REQUEST**

1. Please describe the feature you are requesting.

2. Provide any additional detail on your proposed use case for this feature.

2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

- [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 description here,
- [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 description here,
- ...

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.