AWS Visibility timeout 是否保证消息在此期间不被传递
Does AWS Visibility timeout guarantee that the message is not delivered during that period
如果我将一条消息的可见性超时设置为 5 分钟,是否存在任何情况下它仍可以在 5 分钟之前传递给其他消费者进行处理?
来自docs:
For standard queues, the visibility timeout isn't a guarantee against
receiving a message twice. For more information, see At-Least-Once
Delivery.
所以不,使用标准队列,您不能保证消息不会被处理两次。
如果我将一条消息的可见性超时设置为 5 分钟,是否存在任何情况下它仍可以在 5 分钟之前传递给其他消费者进行处理?
来自docs:
For standard queues, the visibility timeout isn't a guarantee against receiving a message twice. For more information, see At-Least-Once Delivery.
所以不,使用标准队列,您不能保证消息不会被处理两次。