We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
引用の通りですが、SQS には可視性タイムアウトという設定値があって、Shoryuken の worker が SQS から>メッセージを受け取ると、SQS 側はメッセージを一定時間、論理削除します。 worker はジョブが完了すると SQS 側にメッセージの削除要求を投げて、論理削除されていたメッセージを物理削除します。 もし、 worker 側で処理に失敗、または可視性タイムアウトの設定時間を経過しても処理が終わらなかった場合、SQS 側で論理削除を解除して、次のリクエストでメッセージを再配信します。 この仕組みがあるため、 Shoryuken 側でリトライを設定していなくとも、失敗した処理は再度実行されるようになります。 万が一 worker のプロセスが死んでしまっても、 SQS 上でメッセージはちゃんと生きている訳です。
Shoryuken を導入しようとして諦めた話 - Qiita
The text was updated successfully, but these errors were encountered:
No branches or pull requests
可視性タイムアウトがなかったらどうなるか。
参考
Shoryuken を導入しようとして諦めた話 - Qiita
The text was updated successfully, but these errors were encountered: