apache / apache/rocketmq-client-python

ConsumeStatus.CONSUME_SUCCESS is deprecated?

Open
#112 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
305
Forks
98
PR merge metrics
No merged PRs in 30d

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

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.