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 摘要。