Course Intro & Prerequisites
This course dives into the workings of RabbitMQ in Magento 2. You’ll become familiar with RabbitMQ, its architecture, and how it is integrated into Magento.
Now, let’s be clear on what we’re not going to cover:
- Message queues with MySQL. Magento does use message queues with MySQL with the built-in
queuetables, but using MySQL as a message queue has limited benefits. MySQL isn’t meant to be used as a message queue, and servers such as RabbitMQ were built specifically for this purpose. So, we’ll be focusing just on RabbitMQ in this course so we can build scalable & dependable message queues, the right way.
- Production configuration. We’re here to learn all about RabbitMQ's integration with Magento, but handling production configurations is a task for DevOps teams. This is why I always recommend devs, agencies & merchants to opt for managed server options, so we can focus on doing what we do best: coding.
Before we roll up our sleeves, make sure you have:
- Basic Magento knowledge. You should be comfortable creating Magento modules, plugging in dependencies, overriding classes with class preferences & plugins, and working with the database. If any of these concepts sound foreign to you, check out my other courses to build up your know-how before taking this one.
- Running instance of Magento 2.4.4 with RabbitMQ. You need a dev playground to experiment with the concepts in this course. My docker-magento setup is designed to help simplify setting up dev environments, so you if you’re using that setup, you’re all set there. If you don’t have a development environment set up yet, check out the link below this lesson to the course that walks over this entire setup, step-by-step. This code also uses concepts only found in PHP 8.1 and higher, so Magento version 2.4.4 or higher is required.
- RapidAPI account with credit card on file. You’ll need an account over on RapidAPI to work on some of the lessons in this course. I’ll have a lesson later on that goes over exactly how to set things up, but note that even though the API is free for our usage, their service does require a credit card to be on file for overage charges. Not that I’ve never hit any limits in testing and have ever paid anything for RapidAPI myself, but it’s just something to be aware of.
- Magento Plugin. This plugin isn’t a hard requirement, but I’d recommend installing it so you can pick up some of the internal command + click magic that is available when working with Magento in PhpStorm.
- Beeline installed. I’d also recommend installing and using Beeline, which is used throughout some of the lessons in this course and is available to all University students. This isn’t a hard requirement though, and you can get by without using it if you wish.
I’m so ready to get started, so we can start tackling how RabbitMQ works with Magento. If you’re ready… let’s get started!