We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在python 版中,发布订阅部分receive_logs.py,其中以下代码错误
result = channel.queue_declare(exclusive=True)
需修改为:
result = channel.queue_declare('', exclusive=True) 原文
The text was updated successfully, but these errors were encountered:
您用的可能是pika1.0.0版本。 新的1.0.0版本对queue_declare方法进行了修改,方法本身不再给其中的queue参数提供默认的空值。
这篇文档使用的是0.9.6版本的pika(文档内有说明),如果你用0.9.6版本,不会报错。 不过没关系,基于pika 1.0.0版本的教程正在路上,敬请期待。
Sorry, something went wrong.
No branches or pull requests
在python 版中,发布订阅部分receive_logs.py,其中以下代码错误
需修改为:
The text was updated successfully, but these errors were encountered: