What happens if SQS messages partially fail in SendMessageBatch?

0

If some messages fail and others succeed in SendMessageBatch, which of the following happens?

  • No messages will be retried automatically.
  • Only failed messages will be retried automatically.
  • All the messages, including the succeeded ones, will be retried automatically.

Assumptions:

  • All the attributes of the client API instance are set to the default.
    • e.g. retry_limit: 3
  • No error handling on the client side except the default retry mechanics.
질문됨 2년 전798회 조회
1개 답변
0

If some messages were sent (and in some cases, even if all messages failed), the API call will return 200. Therefor, there will not be a retry by the SDK. It is your responsibility to check the result to check which messages were sent and which failed, and act accordingly.

profile pictureAWS
전문가
Uri
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠