apache / apache/rocketmq-client-cpp

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

Open
#397 0 comments 0 reactions 0 assignees Claimed by @humkum View on GitHub
Dominant language
C++
Stars
393
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**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,
- ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.