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
No description provided.
The text was updated successfully, but these errors were encountered:
不好意思,没有太明白需求点; 是要是实现重试次数的阈值设置吗?比如重试5次后抛弃消息? 如果是要实现重试后抛弃消息这种需求的话,我建议在消费者handler中自行实现,通过每次抛入队列后增加一个count计数即可实现
Sorry, something went wrong.
感谢回复,已经解决了
重试5次后抛弃消息,设置以下参数即可。
$message->setArguments( array_merge($message->getArguments(), [ 'x-queue-type' => 'quorum', 'x-delivery-limit' => 5, ]) );
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: