gpt4 book ai didi

Rabbitmq 预览消息

转载 作者:行者123 更新时间:2023-12-05 06:24:55 41 4
gpt4 key购买 nike

我的队列中有 600 多条消息,我想看一眼其中的几条(我不想删除它们,只是看一下)。我应该选择哪个选项?当然我在想:

  • Nack 消息重新排队为真
  • 拒绝消息重新排队 true

它们有什么区别?

enter image description here

最佳答案

根据文档,在这种情况下应该没有区别。

The AMQP 0-9-1 specification defines the basic.reject method that allows clients to reject individual, delivered messages, instructing the broker to either discard them or requeue them. Unfortunately, basic.reject provides no support for negatively acknowledging messages in bulk.To solve this, RabbitMQ supports the basic.nack method that provides all the functionality of basic.reject whilst also allowing for bulk processing of messages.

发件人:https://www.rabbitmq.com/nack.html

关于Rabbitmq 预览消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57457688/

41 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com