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
- Updating a two-way java messenger chat to allow multiplie users
- IP Messenger for CentOS 7
- Replacing system emoji with custom emoji on iOS
- Facebook Messenger bot in PHP, what am I doing wrong?
- Why do I need manually tap 'Refresh' in Applozic Chat?
- How to display an emoji in a Facebook Messenger bot?
- cant send a Generic Template from messenger api (facebook)
- Facebook bot appearing as a non-messenger user on certain phones
- Track telegram messenger client
- Difficulties in programming of messenger Telegram on C#
- Third Party SMS/MMS app - import contact info vs. read contact info
- Optional input() statement
- How to request page messaging permissions on facebook apps?
- Unable to create a Webhook for my Facebook Chatbot
- Sent a receipt through Facebook Messenger after user logged in with Facebook
Related Questions in SHOPWARE
- Change .htaccess to redirect to a specific URL
- Changing the frontend language & multiple countries support in Shopware
- Customer-specific prices with Algolia
- Internal Server Error 500 Shopware 5.2
- Overriding Template in Shopware 4 from plugin
- How can I mock a method that should accept an array?
- rest api: article update with csv
- Accessing a legacy Shopware plugin from one written for Shopware 5.2
- Preload font on smarty and use on @font-face
- How to show entries of custom entity as options for a selector in frontend in Shopware 5?
- Doctrine / ExtJS: Use model to create another model
- How to perform a redirect in Enlight_Event_EventArgs object subscriber in Shopware 5?
- How to subscribe to predispatch of registration in Shopware 6 just like shopware 5?
- How to add package.json to storefront plugin in Shopware 6?
- Setup Multiple Sales Channels on same domain, and getting 500 Internal Server Error
Related Questions in ENQUEUE
- using Retrofit enqueue calls getting problem
- wordpress attach scripts not working properly
- Magnific-popup enqueue stylesheet not loading properly in wordpress
- INDEXERROR on Enqueue function (Python)
- Mulesoft - problem with azure-service-bus-messaging:message-listener
- Enqueue and Dequeue Functions
- EnqueueBundle , google pub sub transport
- Child theme style.css not overwriting index.php on Wordpress
- WorkManager: java.lang.VerifyError: Verifier rejected class androidx.work.impl.OperationImpl
- Kotlin Retrofit cannot return data made in onRespons function
- Is it possible to unenqueue ALL css files from loading on the front end of Wordpress but keep backend loading css as normal?
- Implement a queue using doubly linked list
- Twilio / TwiML on iOS - Using Enqueue and Dial
- WP enqueue script order and localize errors , hook needed?
- WordPress theme wp_enqueue_style() doesn't work after uploading it
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 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.