apache / apache/rocketmq-client-python

ConsumeStatus.CONSUME_SUCCESS is deprecated?

未关闭
#112 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
Python
星标
305
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。