Java Apache-2.0

moquette

Java MQTT lightweight broker

M

moquette-io

Dernière activité 31 août 2026
moquette-io/moquette

2,5 k

étoiles

832

forks

140

issues ouvertes

brokerjavamoquettemqtt

Ce README est souvent en anglais.

Java CI with Maven

Moquette MQTT broker

Documentation reference guide Guide on how to use and configure Moquette

Moquette 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 indicator

Its designed to be evented, uses Netty for the protocol encoding and decoding part.

Community feedback

We would love ❤️ to hear from Moquette users, please let us know how you use it 👣

Embedding in other projects

Use JitPack to resolve Moquette dependency in your project.

In repositories section, add:

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

In dependencies section add:

<dependency>
  <groupId>com.github.moquette-io.moquette</groupId>
  <artifactId>moquette-broker</artifactId>
  <version>0.18.0</version>
</dependency>

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.

Projets similaires

Eclipse Mosquitto - An open source MQTT broker

Cbrokereclipse-iotiot
Eeclipse-mosquitto
11,2 k étoiles2,6 k

java mqtt 基于 java aio 实现,开源、简单、易用、低延迟、高性能百万级 java mqtt client 组件和 java mqtt broker 服务。降低自研 iot 物联网平台难度。🔝🔝 记得右上角点个star 关注更新!

Javaiotjavamqtt
Ddromara
496 étoiles89

Apache ActiveMQ

Javaactivemqamqpamqps
Aapache
2,5 k étoiles1,5 k