AWS SQS 删除操作行为
AWS SQS Delete Operation Behaviour
删除 AWS SQS 消息 (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessage.html) remove/acknowledge 是否是任何消费者之前获取的所有消息?
我问是因为我想确保删除操作没有以类似的方式工作以确认 (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/getting-started.html)
In this mode, when a message is acknowledged, all messages received before this message are implicitly acknowledged as well. For example, if 10 messages are received, and only the 10th message is acknowledged (in the order the messages are received), then all of the previous nine messages are also acknowledged.
确认是 JMS 的一个特性。当您直接使用 SQS 时,不会向消息的生成者发送确认。
如果您需要这样的确认,您必须自己开发 request-response system,或者为此使用预先存在的解决方案(例如使用 JMS)。
删除 AWS SQS 消息 (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessage.html) remove/acknowledge 是否是任何消费者之前获取的所有消息?
我问是因为我想确保删除操作没有以类似的方式工作以确认 (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/getting-started.html)
In this mode, when a message is acknowledged, all messages received before this message are implicitly acknowledged as well. For example, if 10 messages are received, and only the 10th message is acknowledged (in the order the messages are received), then all of the previous nine messages are also acknowledged.
确认是 JMS 的一个特性。当您直接使用 SQS 时,不会向消息的生成者发送确认。
如果您需要这样的确认,您必须自己开发 request-response system,或者为此使用预先存在的解决方案(例如使用 JMS)。