- What do the parameters in the Magento2 message queue mean?
bin/magento queue:consumers:start [–max-messages=]
[–batch-size=] [–single-thread] [–area-code=]
[–multi-process=] <consumer_name>
- I want to synchronize products from the RabbitMQ queue to Magento2. I have 20,000 SKUs. How should I set the following parameters reasonably so that the synchronization can be completed in a short time?
php bin/magento queue:consumers:start async.operations.all
–max-messages=20000
–batch-size=500
–multi-process=6
- I made the following settings but they didn’t work and didn’t improve the synchronization speed
I set max-messages=2000, batch-size =500 multi-process=6.
That is: php bin/magento queue:consumers:start async.operations.all
–max-messages=20000
–batch-size=500
–multi-process=6