Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vernemq/vernemq
A distributed MQTT message broker based on Erlang/OTP. Built for high quality & Industrial use cases. The VerneMQ mission is active & the project maintained. Thank you for your support!
https://github.com/vernemq/vernemq
broker distributed erlang industrial-automation industrial-communication industrial-iot industry-40 iot iot-middleware m2m manufacturing message-queue messaging mqtt pubsub scalable vernemq vernemq-documentation vernemq-users
Last synced: 29 days ago
JSON representation
A distributed MQTT message broker based on Erlang/OTP. Built for high quality & Industrial use cases. The VerneMQ mission is active & the project maintained. Thank you for your support!
- Host: GitHub
- URL: https://github.com/vernemq/vernemq
- Owner: vernemq
- License: apache-2.0
- Created: 2015-05-27T07:29:57.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T19:33:30.000Z (6 months ago)
- Last Synced: 2024-05-22T23:31:54.639Z (6 months ago)
- Topics: broker, distributed, erlang, industrial-automation, industrial-communication, industrial-iot, industry-40, iot, iot-middleware, m2m, manufacturing, message-queue, messaging, mqtt, pubsub, scalable, vernemq, vernemq-documentation, vernemq-users
- Language: Erlang
- Homepage: https://vernemq.com
- Size: 20.4 MB
- Stars: 3,167
- Watchers: 97
- Forks: 385
- Open Issues: 180
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-erlang-cn - vernemq - 基于Erlang/OTP的分布式MQTT消息服务器 (消息队列)
- awesome-integration - VerneMQ (⭐3.2k) - A high-performance distributed MQTT message broker designed for scalability and reliability. Offers efficient and reliable message delivery and supports multiple messaging protocols and patterns. (Projects / Messaging)
- StarryDivineSky - vernemq/vernemq
README
# VerneMQ: A Distributed MQTT Broker
![Build and Smoketest Status](https://github.com/vernemq/vernemq/actions/workflows/pr.yml/badge.svg)
[![Google group : VerneMQ Users](https://img.shields.io/badge/Google%20Group-VerneMQ%20Users-blue.svg)](https://groups.google.com/forum/#!forum/vernemq-users)
Old Docker Repo | New Docker Repo
------------ | -------------
[![Docker Pulls from Old Repo](https://img.shields.io/docker/pulls/erlio/docker-vernemq.svg)](https://hub.docker.com/r/erlio/docker-vernemq/)|[![Docker Pulls from New Repo](https://img.shields.io/docker/pulls/vernemq/vernemq.svg)](https://hub.docker.com/r/vernemq/vernemq/)New: VerneMQ can now use Github Discussions! To join the discussion on features and roadmap, and be part of the VerneMQ Community Team on Github, send us your Github username for an invite! (on Twitter, Slack etc.)
Make sure to visit the new [VerneMQ Forum](https://erlangforums.com/c/erlang-platforms/vernemq-forum/82) hosted on Erlang Forums. We're happy to discuss any of your questions and ideas around VerneMQ on the Forum too!
- - -
VerneMQ is known to be deployed and used in: :us: :canada: :brazil: :mexico: :de: :fr: :switzerland: :denmark: :netherlands: :belgium: :it: :es: :romania: :portugal: :ru: :lithuania: :czech_republic: :slovakia: :austria: :poland: :norway: :sweden: :india: :jp: :indonesia: :vietnam: :kr: :south_africa: :kenya: :serbia: :croatia: :greece: :uk: :ukraine: :australia: :new_zealand: :cn: :egypt: :finland: :hungary: :israel: :singapore: :lebanon: :philippines: :pakistan: :malaysia: :tr: :taiwan: :iran: :cloud:
---
[![VerneMQ Logo](https://i.imgur.com/bln3fK3.jpg)](https://vernemq.com)VerneMQ is a high-performance, distributed MQTT message broker. It scales
horizontally and vertically on commodity hardware to support a high number of
concurrent publishers and consumers while maintaining low latency and fault
tolerance. VerneMQ is the reliable message hub for your IoT platform or smart
products.VerneMQ is an Apache2 licensed distributed [MQTT](http://www.mqtt.org) broker,
developed in [Erlang](http://www.erlang.org).MQTT used to stand for MQ Telemetry Transport, but it no longer is an
acronym. It is an extremely simple and lightweight publish/subscribe messaging
protocol, that was invented at IBM and Arcom (now Eurotech) to connect
restricted devices in low bandwidth, high-latency or unreliable networks.VerneMQ implements the MQTT 3.1, 3.1.1 and 5.0 specifications. Currently the
following features are implemented and delivered as part of VerneMQ:* QoS 0, QoS 1, QoS 2
* Basic Authentication and Authorization
* Bridge Support
* $SYS Tree for monitoring and reporting
* TLS (SSL) Encryption
* Websockets Support
* Cluster Support
* Logging (Console, Files, Syslog)
* Reporting to Graphite
* Extensible Plugin architecture
* Multiple Sessions per ClientId
* Session Balancing
* Shared subscriptions
* Message load regulation
* Message load shedding (for system protection)
* Offline Message Storage (based on LevelDB)
* Queue can handle messages FIFO or LIFO style.
* MongoDB auth & integration
* Redis auth & integration
* MySQL auth & integration
* PostgreSQL auth & integration
* CockroachDB auth & integration
* Memcached integration
* HTTP Webhooks
* PROXY Protocol v2
* Administration HTTP API
* Real-time MQTT session tracing
* Full multitenancy
* Cluster status web pageThe following features are also applies to MQTT 5.0 clients:
* Enhanced authentication schemes (AUTH)
* Message expiration
* Last Will and Testament delay
* Shared subscriptions
* Request/response flow
* Topic aliases
* Flow control
* Subscription flags (Retain as Published, No Local, Retain Handling)
* Subscriber identifiers
* All property types are supported: user properties, reason strings, content types etc.## Commercial Support. Binary Packages. Documentation
Below you'll find a basic introduction to building and starting VerneMQ. For
more information about the binary package installation, configuration, and
administration of VerneMQ, please visit our documentation at [VerneMQ
Documentation](https://docs.vernemq.com) or checkout the product page
[VerneMQ](https://vernemq.com) if you require more information on the available
commercial [support options](https://vernemq.com/services.html).## VerneMQ Release Schedule
VerneMQ releases will be annonced based on bugfixes and features.
Usually a bugfix release will be cut between minor releases or
if there's an urgent bugfix pending.Custom releases can be offered for commercial users.
## Quick Start
This section assumes that you have a copy of the VerneMQ source tree. To get
started, you need to first build VerneMQ.### Building VerneMQ
Note: VerneMQ requires Erlang/OTP 24-26 and `libsnappy-dev` installed in your system. You'll also need a C compiler for Eleveldb. (on Debian, you install `build-essential`, as an example).
Assuming you have a working Erlang installation, building VerneMQ should be as
simple as:```shell
$ cd $VERNEMQ
$ make rel
```### Starting VerneMQ
Once you've successfully built VerneMQ, you can start the server with the following
commands:```shell
$ cd $VERNEMQ/_build/default/rel/vernemq
$ bin/vernemq start
```If VerneMQ is running it is possible to check the status on
`http://localhost:8888/status` and it should look something like:Note that the `$VERNEMQ/_build/default/rel/vernemq` directory is a complete,
self-contained instance of VerneMQ and Erlang. It is strongly suggested that you
move this directory outside the source tree if you plan to run a production
instance.### Important links
* [VerneMQ Documentation](https://docs.vernemq.com)
* [![Google group : VerneMQ Users](https://img.shields.io/badge/Google%20Group-VerneMQ%20Users-blue.svg)](https://groups.google.com/forum/#!forum/vernemq-users)
*
### Thank you to all our contributors!
[![contributors](https://contributors-img.web.app/image?repo=vernemq/vernemq)](https://github.com/vernemq/vernemq/graphs/contributors)