apache / apache/rocketmq-client-cpp

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

Abierto
#397 0 comentarios 0 reacciones 0 asignados Reclamado por @humkum Ver en GitHub
Lenguaje dominante
C++
Estrellas
393
Forks
167
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.