Comments (3)
@mstnorris hmm, how does it affect the worker exactly? I thought it's just an AWS setting and the worker wouldn't even realize it's popping from a FIFO queue?
from laravel-aws-worker.
Hey @dusterio, I've just tried and assigned one of my workers to use a newly created FIFO queue. Seems like it didn't work. I was forced by AWS to end the name of the queue with .fifo
. Should I use this suffix for the Laravel queue settings, too?
from laravel-aws-worker.
bumping this
FIFO queues require an additional field to be POSTed to SQS: MessageGroupId
Notes on this field from AWS:
This parameter applies only to FIFO (first-in-first-out) queues.
The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId values (for example, session data for multiple users). In this scenario, multiple consumers can process the queue, but the session data of each user is processed in a FIFO fashion.
You must associate a non-empty MessageGroupId with a message. If you don't provide a MessageGroupId, the action fails.
ReceiveMessage might return messages with multiple MessageGroupId values. For each MessageGroupId, the messages are sorted by time sent. The caller can't specify a MessageGroupId.
The length of MessageGroupId is 128 characters. Valid values: alphanumeric characters and punctuation (!"#$%&'()*+,-./:;<=>?@[]^_`{|}~).
For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon Simple Queue Service Developer Guide.
Important
MessageGroupId is required for FIFO queues. You can't use it for Standard queues.
Type: String
Required: No
from laravel-aws-worker.
Related Issues (20)
- Handle deprecated property HOT 1
- Not reading the environment variables HOT 3
- SECURITY: Set default of REGISTER_WORKER_ROUTES to false HOT 5
- Scheduler seems to execute tasks as root user HOT 1
- Can't access variables off job class HOT 1
- Support for Lumen 7 HOT 3
- Broken Laravel 7 worker support HOT 2
- preg_match fails matching tries & timeouts
- Maximum execution time of 60 seconds exceeded
- UTF-8 characters unserialize() error at offset HOT 18
- Manually Releasing not working HOT 1
- No routes in routes list - laravel 8 HOT 3
- provider not registered HOT 2
- Concurrent Process HOT 1
- Laravel 8 Interface is not instantiable HOT 1
- How to define max "workers" (max simultaneous task per worker server) HOT 2
- Question: is there support for the backoff option on job retries? HOT 3
- Laravel aws worker clobbers horizon/redis queue configuration HOT 1
- Unresolvable dependency resolving [Parameter #3 HOT 1
- Laravel 11 support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-aws-worker.