Questions tagged [consumers]
The consumers tag has no summary.
9 questions
0 votes
1 answer
218 views
How often should I run the message consumers?
Magento 2.4.6 I am running this every minute via cronjob: php bin/magento cron:run; > /dev/null 2>&1 php bin/magento queue:consumers:start product_action_attribute.update & php bin/...
1 vote
0 answers
284 views
Magento 2 spawns many consumers per queue over time
I'm using many queues and configure Magento to use separate consumers for every queue. It works well. But every few days it probably misses all consumer locks and spawns new processes for all queues. ...
1 vote
1 answer
381 views
customer acesss token never expiring JWT
I have created a customer access token using the below method // Magento\Integration\Model\Oauth\TokenFactory $customerToken = $this->tokenModelFactory->create(); $token = $customerToken->...
0 votes
1 answer
71 views
Magento 2 + How Delete 50 products with images in a single time with creating custom consumer::queue?
I have 1lac products in Magento, I want to delete the products based on some condition like if the product is disabled, but if we delete all products in a single time using corn the server can crash. ...
0 votes
1 answer
272 views
The consumer isn't authorized to access %resources. "resources": "Magento_Customer::manage"
magento is sending the next error when calling a GET API. Does anyone have the solution to the error? { "message": "The consumer isn't authorized to access %resources.", "...
0 votes
1 answer
1k views
Magento 2 Message Queue - Type Error with expected string, null given
First of all, I am not new to Magento 2 development, I know how to create modules. However, I struggle for 3 days now to get a simple Message Queue in Magento 2 to work. Here are my XML files: ...
0 votes
3 answers
802 views
Running Magento bin commands without keeping in terminal
Is there a way to run these commands: php -dmemory_limit=12G bin/magento catalog:images:resize -a or php -dmemory_limit=12G bin/magento queue:consumer:start media.storage.catalog.image.resize without ...
0 votes
1 answer
1k views
Magento 2.4 EE - Consumers or RabbitMQ Consumers are not working, it should work automatically after deployment
Summary of the issue Queue Consumers are not working, it should work automatically after deployment. Information on your environment Magento EE 2.4 , RabbitMQ 3.8, Composer version- 1.10.16 ...
0 votes
1 answer
4k views
Getting `Area code is already set` when running consumers
When I am running any of the consumers command from the console: bin/magento queue:consumers:start exportProcessor I am getting the following exception from the vendor/magento/framework/App/State.php,...