apache / apache/rocketmq-client-python

I use this producer example to send transaction message to RocketMQ, why the check_callback callback function cannot execute?

オープン
#114 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Python
スター
305
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

説明

1. Please describe the issue you observed:
I use this producer example to send transaction message to RocketMQ, why the check_callback callback function cannot execute?

2. Please tell us about your environment:

mac os

3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

```
def send_transaction_message(count):
producer = TransactionMQProducer(gid, check_callback)
producer.set_name_server_address(name_srv)
producer.start()
for n in range(count):
msg = create_message()
ret = producer.send_message_in_transaction(msg, local_execute, None)
print ('send message status: ' + str(ret.status) + ' msgId: ' + ret.msg_id)
print ('send transaction message done')

while True:
time.sleep(3600)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。