简体   繁体   English

使用存储队列和服务总线时,Azure 死信队列和毒药队列有什么区别?

[英]What is the difference between Azure Dead Letter Queues and Poison Queues when using Storage Queue and Service Bus?

What is the difference between Azure Dead letter queue and Poison queue with respect to Storage Queue and Service Bus? Azure 死信队列和毒药队列在存储队列和服务总线方面有什么区别?

How do I read the messages from those queues?如何从这些队列中读取消息?

A poison message is a message that is sent to the queue or topic that the consuming application cannot process correctly.有害消息是发送到消费应用程序无法正确处理的队列或主题的消息。

Once the DeliveryCount of these messages reaches the MaxDeliveryCount of the queue/topic, they will then be classed as poison messages .一旦这些消息的DeliveryCount达到队列/主题的MaxDeliveryCount ,它们就会被归类为有害消息

These messages will be sent to a queue called <originalqueuename>-poison .这些消息将被发送到一个名为<originalqueuename>-poison的队列。

Both Azure Queue Storage & Azure Service Bus support poison messages but Azure Queue Storage does not support automatic dead-lettering. Azure 队列存储和 Azure 服务总线都支持有害消息,但 Azure 队列存储不支持自动死信。

This means that while in Azure Service Bus you can set expired messages to be moved into a DLQ for later processing, messages with a TTL value that expire in Azure Queue Storage will be deleted permanently.这意味着,虽然在 Azure 服务总线中,您可以将过期的消息设置为移动到 DLQ 以供以后处理,但在 Azure 队列存储中具有过期的 TTL 值的消息将被永久删除。

Otherwise, handling of messages that will "poison" the system & can never be consumed, is pretty much the same in both offerings.否则,处理会“毒害”系统并且永远不会被消耗的消息在两种产品中几乎相同。

One offers a poison queue and one offers a DLQ.一种提供毒药队列,另一种提供 DLQ。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Service Bus中死信队列中的邮件是否过期? - Do messages in dead letter queues in Azure Service Bus expire? 过期时间过后,Azure Service Bus队列中的消息仍保留在队列中 - Messages in Azure Service Bus Queues remain in queue after expire time 通过MessageId在Azure Service Bus死信队列上获取消息 - Getting a Message by MessageId on the Azure Service Bus Dead Letter queue 我们可以使用 .net 代码从 Azure 服务总线中的死信队列中删除基于序列号的特定死信消息吗? - can we delete a specific dead letter message based on the sequence number from dead letter queue in Azure service bus using .net code? MassTransit在天蓝色服务总线上创建队列 - MassTransit creates queues on azure service bus Windows Azure服务总线队列 - MessageSender或QueueClient? - Windows Azure Service Bus Queues - MessageSender or QueueClient? 使用Azure Service Bus创建队列的MassTransit 3 - MassTransit 3 with Azure Service Bus creating queues Azure 服务总线 | 重新处理死信消息返回队列 | 如何接收来自死信队列的所有消息? - Azure service bus | Re process dead letter messages back to queue | How to receive all messages from dead letter queue? 在Azure Service Bus上调用Abandon会在队列的后面而不是队列的前面重新排队该消息 - Calling Abandon on an Azure Service Bus re-queues the message at the back rather than the front of the queue 如何在 Azure 服务总线中显式向主题订阅死信队列发送消息 - How to send message to Topic Subscription Dead Letter Queue Explicitly in Azure Service Bus
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM