Timeline for Does the default Magento 2.4.2 Require RabbitMQ Asynchronous message queueing?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 30, 2021 at 20:52 | comment | added | Ray | I had to create that in the Rabbit MQ admin panel. Thank you. All good now. | |
Jun 28, 2021 at 8:58 | comment | added | Diana |
it's an 'either or' situation. running the crons with the default setup should work properly and you shouldn't need to run queue:consumers:start as they are managed by the crons. however, if you change your settings and disable the consumers runner by configuration in env.php, then you need to run the command to start the consumers (check this thread for details magento.stackexchange.com/questions/324970/…). as for your error, run setup:upgrade to force the creation of the queue in rabbitmq. good luck!
|
|
Jun 27, 2021 at 1:24 | comment | added | Ray |
Diana, by default Mage runs consumers_runner. But docs say that we need to start message queue. But the default cron is already running: Consumer "async.operations.all". Do we have to run: bin/magento queue:consumers:start <consumer_name> ? I also get an error in the CRON.log: main.CRITICAL: NOT_FOUND - no queue 'async.operations.all' in vhost 'host' {"exception":"[object] (PhpAmqpLib\\Exception\\AMQPProtocolChannelException(code: 404): NOT_FOUND - no queue 'async.operations.all' in vhost 'host' at ... But in my RabbitMQ admin I see: Queue async.operations.all in virtual host.
|
|
Jun 22, 2021 at 2:10 | vote | accept | Ray | ||
Jun 22, 2021 at 2:09 | vote | accept | Ray | ||
Jun 22, 2021 at 2:09 | |||||
Jun 22, 2021 at 1:53 | comment | added | Ray | Yes perfect. That worked! This is a complete answer to the question. By default, the Magento opensource needs ampq setup for 'async.operations.all'. The connection needs to be appended to the 'queue' section in app/etc/env.php as described by Diana above. | |
Jun 19, 2021 at 16:35 | comment | added | Diana | yeah, looks good | |
Jun 18, 2021 at 23:04 | comment | added | Ray | Just to confirm: My queue is: 'queue' => ['consumers_wait_for_messages' => 1], APPENDED: 'queue' => [ 'consumers_wait_for_messages' => 1, 'amqp' => [ ... | |
Jun 18, 2021 at 6:41 | comment | added | Diana | please check the update in my answer :) hopefully, it will make more sense now what you have to do and how this works. cheers and good luck! | |
Jun 18, 2021 at 6:40 | history | edited | Diana | CC BY-SA 4.0 |
added 1226 characters in body
|
Jun 17, 2021 at 18:06 | comment | added | Ray | Thanx. So, default installation of open-source RabbitMQ is needed for Bulk Operations - OK. Based on this, some operations (BULK) will use 'ampq / RabbitMQ' for Asynchronous communication while the rest continue to be Synchronous via MySQL? ... Doc says to "ADD" a 'queue' section to app/etc/env.php -- BUT a queue section already exists: 'queue' => [ 'consumers_wait_for_messages' => 1 ], devdocs.magento.com/guides/v2.4/install-gde/prereq/… ... So CHANGEING that to 'amqp' method will force ALL comm to be Async? Thus needing further configuration now? | |
Jun 17, 2021 at 7:17 | history | answered | Diana | CC BY-SA 4.0 |