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. I searched and came to know that many people suggested the consumer::queue. Is it a better way for my purpose?
How can I delete 50 products in a single time by creating a custom consumer::queue?
If anyone has any idea or example please share, How do create a custom consumer::queue to delete 50 products once and then delete the other 50 until all 1lac products are deleted?