Are there any best practive in running multiple message queue workers in Shopware 6? We disabled the Admin Worker und configured supervisor.d to run 5 processes of messenger:consume and 1 process of scheduled-task:run . We experienced some weird issue: Enqueue seems to have some 20 minute processing time limit (redeliver_after). After 20 minutes of processing a job seems to be considered stale and any other worker is free to take responsibility for it. We also had infinite loops of message dispatching. The whole collaboration between enqueue, symfony/messenger and Shopware is so complex and Shopware documentation is so parse on that.
How to use multiple queue worker with Shopware 6?
1.6k Views Asked by Marius At
1
There are 1 best solutions below
Related Questions in SYMFONY
- Key provided is shorter than 256 bits, only 64 bits provided
- Troubleshooting form submission in PrestaShop's hookDisplayAdminProductsExtra module
- Symfony Framework - Route cannot be found even if it is defined in Controller
- Opening modal through Update button with specified ID using ajax
- Can't revert a Loggable entity because of a Doctrine repository error
- Symfony form type option issues
- How to redirect all shopware logs (monolog) including plugins (bundles) to single target like a file or stderr
- Serialization Symfony return empty array
- scheb/2fa not detected/working on my project
- Dynamically Adding Serialization Groups to Properties in Symfony 6.4 Using Traits
- symfony No identifier/primary key specified for Entity "App\Entity\Etablissement"
- Symfony basic auth doesn't work specifically in test
- Laravel 11 upgrade with Laravel Nova v.26.4 and Symfony/finder 7
- Does Symfony need the user to be online inorder to handle messages in the messenger queue?
- How to temporary disable Xdebug for cache/container building code, but that it remains enabled for the rest of the execution?
Related Questions in MESSAGE-QUEUE
- What's the right ZMQ architecture for my scenario?
- How to Extract Queue Name, Priority, and Message ID from RabbitMQ Inbound Endpoint Messages in WSO2 MI 4.2?
- Is there any example or design of a queue system in microservices?
- tkinter: search widget by name in an efficient way
- How do I maintain the same internal host on RabbitMQ?
- How to use consistent hashing across publishers, queues, and consumers
- How can I monitor/locate specific communications between programs on WIN10?
- Celery manually decoding message body in python
- How to read more than 32 message from Azure storage Queue
- How many senders and receivers of a notification are possible in a POSIX message queue
- Make sure BullMQ queue pushes data to single node in redis cluster
- Problem with AMQP-CPP and libuv - TCP Channel is not ready
- The switch of keyboard layout on Windows: synchronization with the multistage-processing of character input
- Queuing mechanism per account
- Is there a way to define a RabbitMQ consumer that keeps listening for a queue without blocking the program?
Related Questions in MESSENGER
- Messenger API - URL Buttons browser window
- Get the location from messenger API
- Why is this error, GraphQL query is unauthorized showing up in facebook Erro?
- Webview in Facebook / Messenger apps messing up my "Sign in with Facebook" button on my website
- Memory leak when dispatching messages with Symfony Messenger component
- Symfony - Sending Failed Messages on purpose
- Sms login Mesibo Messenger (Android)
- Gatling results into console
- Facebook Page to Page Messaging Not Sent To API
- Tracking leads generated from messenger apps via website click
- Messenger webhook is not triggering messaging_referrals and messaging_postbacks events when a conversation is started via an ad
- Facebook persistent menu not showing in Messenger (chat bot)
- Why Choose Dialogflow Messenger Despite Its Limitations?
- react native facebook message gradient effect
- Facebook Webhook Event Trigger
Related Questions in SHOPWARE
- How to redirect all shopware logs (monolog) including plugins (bundles) to single target like a file or stderr
- Is it allowed to add snippet with custom key for tranlsation in theme?
- Add existing product to order with shopware 6 api
- How do I execute a custom flow trigger from a plugin in Shopware >=6.5?
- Unable to Use RequestStacks for Adding Content to Line-Item Payload after Shopware 6.5.4.0
- How Does Shopware 6 Import/Export Module Work
- Shopware 6 custom stock handling
- Add data to order overview table
- Usage Error during installation of Shopware 6
- How to use the comments icon for shopware 6
- How to customize invoice document using custom field
- Cart Webhooks / Flow Builder
- Shopware 6 Local Plugin Linting
- How to prevent artefacts in transparent images when generating thumbnails?
- Entity drafts in Shopware
Related Questions in ENQUEUE
- In a Wordpress installation, JQuery simple script does not seem to work
- Wordpress Ajax filter returning ajax 400 (bad gateway)
- Creating a queue using two stack, but make enqueuing O(1)
- EnqueueBundle , google pub sub transport
- Enqueue and Dequeue Functions
- INDEXERROR on Enqueue function (Python)
- Mulesoft - problem with azure-service-bus-messaging:message-listener
- enqueuing my styles and scripts in wordpresss
- Get a file from path where file name LIKE
- Linked list enqueue function only adds one node and overwrites previous node in C
- Enqueue GSAP script with Gutenberg block not working
- I'm not familiar with queue is circular in python
- How to enqueue module script?
- Include jQuery Core in Theme Folder and Enqueue to Footer
- reference to 'queue' is ambiguous
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Due to nobody else posting an answer, I'll answer this one myself. What we discovered: Even with just one worker jobs running more than 20 minutes cause constraint violations on table message_queue_stats. We have one or two jobs which exceeds this limit. We will try to increase this limit. Futhermore we encounter deadlocks in MySQL on enqueue table. I guess that needs further investigation. Finally we switched to Redis for queue persistence. You have two options here: Redis Adapter from Symfony Messenger or Redis Adapter for Enqueue. We tried both and it worked better with Enqueues Redis Adapter. Keep in mind Shopware advises to use RabbitMQ for having multiple workers.