Introduction
Configuration
Language Support
AMQP 0-9-1 Overview
More Exchange Types
More Consumer Features
Queue Deep-dive
Other Features
Reliable Message Delivery
High Availability and Backup
Monitoring
Management HTTP API
Tutorials
Networking
LavinMQ CLI
LavinMQ installation guide
Latest stable version:
Check out the changelog for an overview of releases.
How to build LavinMQ from GitHub
LavinMQ is written in the Crystal programming language. It needs Crystal installed to compile.
To build LavinMQ you must first install Crystal. This can be done for a number of platforms by following the instructions on the Crystal site.
Once Crystal is installed you can clone the repo from GitHub and build it with
Now, LavinMQ is ready to be used. You can check the version with:
Installing LavinMQ on Ubuntu
LavinMQ is a modern message broker that uses the AMQP protocol. It is written in the Crystal programming language. Installation in Ubuntu is a one-step process using Ubuntu’s package manager APT.
System Requirements
LavinMQ is supported on Ubuntu 18.04 and 20.04. Supported processors include ARM, x86_64, and amd64. We recommend using xfs file systems, but ext4 is also supported.
Installation process
LavinMQ releases are hosted in packagecloud. First, you will need a key to access the repository. Evaluate the following commands in a terminal:
Now, LavinMQ is ready to be installed. Evaluate the following inputs in a terminal:
Configuration
After LavinMQ has been installed, it will be running as a service. The ports needed for LavinMQ are 5671 (amqp with TLS), 5672 (amqp), and 15672 (management interface).
Stopping/starting/restarting can be done by using Ubuntu’s service command. For example, to restart the service evaluate this:
The default user for LavinMQ has the username guest
with a password set to
guest
. This user can be deleted using the
lavinmqctl CLI or by using the management interface.
Additional users can be added in the same way.
Additional configuration settings can be changed in the LavinMQ
configuration file, which will be installed in /etc/lavinmq
for
Ubuntu machines.
Install LavinMQ on MacOS
OS X users can install LavinMQ with brew:
Ready to take the next steps? Here are some things you should keep in mind:
Managed LavinMQ instance on CloudAMQP
LavinMQ has been built with performance and ease of use in mind - we've benchmarked a throughput of about 1,000,000 messages/sec. You can try LavinMQ without any installation hassle by creating a free instance on CloudAMQP. Signing up is a breeze.
Help and feedback
We welcome your feedback and are eager to address any questions you may have about this piece or using LavinMQ. Join our Slack channel to connect with us directly. You can also find LavinMQ on GitHub.