apache / apache/rocketmq-client-python

ConsumeStatus.CONSUME_SUCCESS is deprecated?

Ouverte
#112 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
Python
Étoiles
305
Forks
98
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I could not find the ```ConsumeStatus.CONSUME_SUCCESS ``` follow in Readme.md

So , I find the below and use it callback return

```
from rocketmq.ffi import _CConsumeStatus

def callback(msg):
...
return _CConsumeStatus.CONSUME_SUCCESS

```

python version 3.7

pip version
```
root@2340c37e8721:/workspace# pip list | grep rocket
rocketmq 0.4.4
rocketmq-client-python 2.0.0
```
cpp version
2.0.0

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with Readme.md and the callback example described in the issue, then inspect how rocketmq.ffi._CConsumeStatus is exposed in the Python client. Confirm whether ConsumeStatus.CONSUME_SUCCESS is supported or deprecated for the listed versions, and document the correct callback return value and usage.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
documentation
Type d'issue
Documentation
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.