https://github.com/moquette-io/moquette
Java MQTT lightweight broker
https://github.com/moquette-io/moquette
broker java moquette mqtt
Last synced: 2 days ago
JSON representation
Java MQTT lightweight broker
- Host: GitHub
- URL: https://github.com/moquette-io/moquette
- Owner: moquette-io
- License: apache-2.0
- Created: 2014-09-30T20:14:41.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-10-26T16:19:20.000Z (6 months ago)
- Last Synced: 2024-10-29T09:23:42.096Z (6 months ago)
- Topics: broker, java, moquette, mqtt
- Language: Java
- Homepage: http://moquette-io.github.io/moquette/
- Size: 5.97 MB
- Stars: 2,310
- Watchers: 155
- Forks: 818
- Open Issues: 120
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.txt
- License: license-eplv10-aslv20.html
Awesome Lists containing this project
README
[Java CI with Maven](https://github.com/moquette-io/moquette/workflows/Java%20CI%20with%20Maven/badge.svg?branch=main)
[](https://jitpack.io/#moquette-io/moquette)
## Moquette MQTT broker
[Documentation reference guide](http://moquette-io.github.io/moquette/) Guide on how to use and configure MoquetteMoquette is a lightweight broker compliant with MQTT 5 and MQTT 3, easily encapsulated in other applications.
The broker supports QoS 0, QoS 1 and QoS 2. The MQTT5 specification is almost fully supported.
The features implemented by the broker are:
* session and message expiry
* shared subscriptions
* request/response
* topic alias
* flow control
* subscription options
* will delay
* server disconnects
* payload format indicatorIts designed to be evented, uses Netty for the protocol encoding and decoding part.
## Community feedback
We would love :heart: to hear from Moquette users, please [let us know how you use it 👣 ](https://github.com/moquette-io/moquette/discussions/874)## Embedding in other projects
Use JitPack to resolve Moquette dependency in your project.
In repositories section, add:
```
jitpack.io
https://jitpack.io
```
In dependencies section add:
```com.github.moquette-io
moquette-broker
0.18.0```
## Build from sources
After a git clone of the repository, cd into the cloned sources and: `./gradlew package`, at the end the distribution
package is present at `distribution/target/distribution-0.19-SNAPSHOT-bundle.tar.gz`In distribution/target directory will be produced the selfcontained file for the broker with all dependencies and a running script.