If I put $author=’Steven King’; it works without issue, however it does not work with a post variable. To be “clear” if I hard code the the author in the JSON it will in fact post the message to the SQS queue. This is the expected result, however if I pass the string from the Post Variable e.g. $author=$_POST[‘author], the
Tag: amazon-sqs
Laravel retryUntil job exits after 4th retry without failing
I am trying to debug some bizarre behaviour of my PHP application. It is running Laravel 6 + AWS SQS. The program downloads call recordings from a VoIP provider’s API using a job. The API has a heavy rate limit of 10req/minute, so I’m throttling the requests on my side. The job is configured to try to complete within 24
Laravel and AWS SQS, How to read job payload / retrieve queue?
I struggling from last 3 days about how I can read queued job payload in Laravel. What I’ve achieved till yet. Dispatch a job and see that it is available on AWS SQS queue. After that I’ve executed listener and worker for AWS to process queued jobs and I see that it is working fine as well. Right now I
AWS SQS only receiving 1 message from two different dispatch
Currently, I’m using the AWS PHP SDK to communicate with AWS SQS. I’m using a FIFO queue. We have different “models” that need to communicate with SQS, therefore they all have different message group ids in order to make SQS more efficient in processing the data. I’ve made a method that dispatches calls to AWS SQS called DispatchSQSJob($arrayData, $messageGroupId =
How to intercept a new file on S3 using Laravel Queues?
I have an S3 bucket, mybucket, and I want to execute something when a new file is copied into that bucket. For the notifications, I want to use an SQS queue, notifiqueue, because my goal is to access that queue with Laravel Since I am creating my infrastructure in CloudFormation, the resources are created like this: Each time a new