1回答
- 新しい順
- 投票が多い順
- コメントが多い順
2
There is no callback method for SQS as its a managed external queue.
You should take a look at enabling long polling on your queue and then that would allow you to run your poller way less frequently than every second. You can find more information here: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-polling.html and in the specific SDK documentation. With this you could poll ~every 15-20 seconds or so and wait for messages to arrive.
Thanks,
- munns
回答済み 2年前
関連するコンテンツ
- AWS公式更新しました 5ヶ月前
- AWS公式更新しました 3年前
- AWS公式更新しました 6ヶ月前
- AWS公式更新しました 9ヶ月前