

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: RabbitMQ
incomplete
2: Alternative Brokers
incomplete
3: Connect
incomplete
4: AMQP Protocol
incomplete
5: MQTT and STOMP
incomplete
This lesson's interactive features are locked, please to keep using them
We will be using RabbitMQ and AMQP in this course, but AMQP is not the only protocol for message brokers. Two other popular protocols are MQTT and STOMP.
MQTT is designed for small IoT devices and as such is optimized to be lightweight and energy efficient.
STOMP is designed for web applications and is designed to be simple and easy to use.
AMQP is a sophisticated, feature-rich protocol that's great for complex routing, filtering, and delivery requirements.
While we'll be using AMQP during the rest of this course, let's configure our RabbitMQ instance to support STOMP as well, just for fun. We'll need to create our own Dockerfile that installs the RabbitMQ STOMP plugin.
FROM rabbitmq:3.13-management
RUN rabbitmq-plugins enable --offline rabbitmq_stompdocker build -t rabbitmq-stomp .docker rm peril_rabbitmqdocker run -d --name peril_rabbitmq -p 5672:5672 -p 15672:15672 -p 61613:61613 rabbitmq-stompOnce it's running, test port 61613 with NetCat to make sure that it's open and that RabbitMQ is running the STOMP plugin:
nc -vz localhost 61613You should get a "connection succeeded" message if all is well.
Run and submit the CLI tests.
Shutdown the Docker container when you're done.