VerneMQ

Open source

VerneMQ is a distributed MQTT broker written in Erlang, implementing MQTT 3.1, 3.1.1 and 5.0 under the Apache 2 licence.

vernemq.com
VerneMQ homepage screenshot
GitHub stars
3.7k
Last 30 days
+16(+0%)
Last commit
2 days ago
Repository age
11 years
Version
2.2.1
Licence
Apache-2.0
Self-hosted
Yes

About VerneMQ

VerneMQ is a distributed MQTT message broker developed in Erlang and licensed under Apache 2. The README says it scales horizontally and vertically on commodity hardware to handle many concurrent publishers and consumers while keeping latency low and tolerating faults, and positions it as a message hub for IoT platforms and smart products. It implements the MQTT 3.1, 3.1.1 and 5.0 specifications.

The feature list covers QoS 0, 1 and 2, authentication and authorization, bridges, a $SYS tree, TLS, WebSockets, clustering and logging to console, files or syslog. It adds shared subscriptions, session balancing, load regulation and shedding, offline message storage on LevelDB, and auth and integration with MongoDB, Redis, MySQL, PostgreSQL and CockroachDB. HTTP webhooks, an administration HTTP API, real-time session tracing, multitenancy and a cluster status page are also named.

Building from source needs Erlang/OTP 27-29, libsnappy-dev and a C compiler for Eleveldb; make rel builds it and bin/vernemq start runs it, with a status page on port 8888. Binary packages and Docker images exist, and commercial support, including custom releases, is offered. The repository topics mention industrial IoT and manufacturing.

Key features

  • Implements MQTT 3.1, 3.1.1 and 5.0
  • Clustering for horizontal and vertical scaling
  • Shared subscriptions, session balancing and load shedding
  • Auth and integration with common databases
  • Offline message storage using LevelDB
  • Admin HTTP API and live session tracing
  • MQTT 5.0 enhanced authentication and topic aliases

Good fit for

  • Message hub for an IoT platform
  • Industrial device messaging
  • Clustered MQTT broker
Built with
Erlang tools
Tags
mqtt
broker
erlang
iot
messaging
clustering
pubsub

VerneMQ: questions and answers

What is VerneMQ used for?
VerneMQ is a distributed MQTT broker written in Erlang, implementing MQTT 3.1, 3.1.1 and 5.0 under the Apache 2 licence. It is a good fit for message hub for an IoT platform, industrial device messaging and clustered MQTT broker.
Is VerneMQ open source?
Yes. VerneMQ is open source under the Apache-2.0 licence. Its source code is on GitHub at vernemq/vernemq and is written mainly in Erlang.
Is VerneMQ free?
Yes. VerneMQ is open source, so the software itself is free to use.
Can I self-host VerneMQ?
Yes. VerneMQ can be self-hosted on your own server or infrastructure.
What is VerneMQ an alternative to?
VerneMQ is an open-source alternative to Particle, AWS IoT Core, Azure IoT Hub and ThingWorx. Other open-source alternatives to Particle include DGIoT, EMQX and Kaa.
Is VerneMQ actively maintained?
Yes. The most recent commit to VerneMQ was on 20 November 2026, and the latest release is 2.2.1, published on 17 September 2026. The project has 3.7k stars on GitHub, with 16 added in the last 30 days.

Open-source alternatives to VerneMQ

See all

SaaS alternatives to VerneMQ

See all