简体   繁体   English

Google PubSub 将消息订购到死信队列流程

[英]Google PubSub ordered Messages to Dead Letter Queue process

I have a scenario of Pub/Sub with ordered messages and a Dead Letter queue.我有一个包含有序消息和死信队列的 Pub/Sub 场景。 Do all the ordered messages land on a Dead Letter queue or just the one of the Ordered messages, that is not able to be processed, lands individually on the DL Queue.是否所有有序消息都落在死信队列上,或者只是其中一个无法处理的有序消息单独落在 DL 队列上。

Right now, it should not be possible to set up a dead letter queue on a subscription that has message ordering enabled.现在,应该不可能在启用了消息排序的订阅上设置死信队列。 The reason is that dead letter queues are best effort and so it's possible that the redelivery of a message would not be consistent if it was going to be moved to the dead letter topic, which could violate the ordering guarantees.原因是死信队列是尽力而为的,因此如果将消息移动到死信主题,则消息的重新传递可能会不一致,这可能会违反排序保证。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM