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 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 7달 전
- AWS 공식업데이트됨 일 년 전