apache / apache/rocketmq-client-python

Got wrong error stack when using ACL

未關閉
#91 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
help wanted
主要語言
Python
星號
305
分支
98
PR 合併指標
30 天內沒有已合併 PR

描述

1. Please describe the issue you observed:

- What did you do (The steps to reproduce)?
Append 'aclEnable=true' in broker.conf, restart broker.
broker will load default config 'plain_acl.yml',
Use Producer sample,add ```producer.set_session_credentials('RocketMQ','12345678','')```
before ```producer.start()```,modify topic to ```topicA``` then run it.
- What did you expect to see?
Permission denied error stack.
- What did you see instead?
```
rocketmq.exceptions.ProducerSendSyncFailed: No route info of this topic: topicA,error:-1,in file rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp line:418
```
2. Please tell us about your environment:

- What is your OS?
osx10.14.6
- What is your client version?
2.0
- What is your RocketMQ version?
rocketmq4.7.0

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。