I have setup Magento 2.4 with RabbitMQ. You can see my configuration here.
'queue' => [
'amqp' => [
'host' => 'rabbitmq.host',
'port' => '53003',
'user' => 'username',
'password' => 'password',
'virtualhost' => '/'
],
'consumers_wait_for_messages' => 1
],
'cron_consumers_runner' => [
'cron_run' => true,
'max_messages' => 20000,
'consumers' => [
'async.operations.all',
'product_action_attribute.update',
'product_action_attribute.website.update',
'inventory.source.items.cleanup',
'inventory.mass.update',
'inventory.reservations.cleanup',
'inventory.reservations.update',
'inventory.reservations.updateSalabilityStatus',
'inventory.indexer.sourceItem',
'inventory.indexer.stock'
]
],
Magento 2 cron is running. You can see log here.
main.INFO: Cron Job consumers_runner is run [] []
main.INFO: Cron Job consumers_runner is successfully finished. Statistics: {"sum":0.0011739730834961,"count":1,"realmem":0,"emalloc":2960,"realmem_start":176685056,"emalloc_start":162316640} [] []
Any bulk actions that are added into table magneto_bulk
are never executed. All product bulks updated stays pending.
All entries in queue_message_status
stays with status code 2 (pending)
This is my consumer list.
$ bin/magento queue:consumers:list
product_action_attribute.update
product_action_attribute.website.update
exportProcessor
inventory.source.items.cleanup
inventory.mass.update
inventory.reservations.cleanup
inventory.reservations.update
media.storage.catalog.image.resize
codegeneratorProcessor
inventory.reservations.updateSalabilityStatus
inventory.indexer.sourceItem
inventory.indexer.stock
media.content.synchronization
media.gallery.synchronization
async.operations.all
Nothing happens when i try and run manuel with $ bin/magento queue:consumers:start product_action_attribute.update
I see no errors in logs. If i use default MySQL message queues, i am supposed to see some idle procceses in DB, correct? I do not see any processes at all.
Where should i start to debug this issue?
halp!