Link to the talk: https://www.youtube.com/watch?v=WXkhJ92-fsY
Install using Homebrew
brew install rabbitmq
Add RabbitMQ to launchctl to launch the broker on startup (Optional)
ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist
Clone the repository
git clone https://github.com/sklarsa/rabbitmq-presentation.git
Create a virtual environment and install the requirements
cd rabbitmq-presentation
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
Path | Description | How to run |
---|---|---|
amqp_example.py | Basic broker communication using pika | python amqp_example.py |
celery_example_1 | Celery example with default config | cd celery_example_1; ./run_example.sh |
celery_example_2 | Celery example with advanced routing | cd celery_example_2; ./run_example.sh |
ae_example.py | Alternate exchange usage to catch unrouted messages | python ae_example.py |