gpt4 book ai didi

amazon-web-services - 重复邮件上的邮件ID

转载 作者:行者123 更新时间:2023-12-05 00:23:28 24 4
gpt4 key购买 nike

根据SQS(强调我的)的文档:

Amazon SQS stores copies of your messages on multiple servers for redundancy and high availability. On rare occasions, one of the servers storing a copy of a message might be unavailable when you receive or delete the message. If that occurs, the copy of the message will not be deleted on that unavailable server, and you might get that message copy again when you receive messages. Because of this, you must design your application to be idempotent (i.e., it must not be adversely affected if it processes the same message more than once).



这些重复消息是否保证具有相同的(SQS)消息ID?

最佳答案

是的,它们将具有相同的ID,因此,如果您试图跟踪已处理的内容,那么“最近”保存一份列表(在缓存或数据库中)应该可以正常工作。

关于amazon-web-services - 重复邮件上的邮件ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28130654/

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