# moquette-io/moquette

Java MQTT lightweight broker

Repository: https://github.com/moquette-io/moquette
Canonical: https://ross.abutalabs.com/products/moquette
Homepage: http://moquette-io.github.io/moquette/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: broker, mqtt, java, moquette
Last push: 2026-08-18T10:53:39+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 63, longevity 100
- inputs: {"age_days": 4355, "days_push": 15, "days_rel": 32, "gap_med": 581, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2453, forks 834 (observed 2026-08-28T04:06:53.034141+00:00)

## What it is
Moquette is a lightweight MQTT broker written in Java, compliant with MQTT 5 and MQTT 3, supporting QoS 0-2 and most MQTT 5 features. It is built on Netty and designed to be easily embedded in other JVM applications as well as run standalone.

## Use cases
- embed an MQTT broker in a Java application
- run a lightweight MQTT broker for IoT devices
- support MQTT 5 features like shared subscriptions and topic aliases
- test MQTT clients locally with QoS 0, 1 and 2
- add pub/sub messaging to a JVM backend

## When to choose
- you need an embeddable MQTT broker in a JVM project
- you want a lightweight, self-contained broker without heavy infrastructure
- you need MQTT 5 features such as session expiry, will delay, or shared subscriptions

## When to avoid
- you need a horizontally scalable, clustered MQTT broker for massive fleets
- you require full MQTT 5 specification compliance
- you prefer a non-JVM runtime

## Facets
- artifact type: service
- maturity: active
- function: message-queue, http-server
- domain: iot, backend, developer-tools
- platform: jvm, cross-platform, self-hosted
- tags: mqtt, mqtt-broker, mqtt5, netty, embeddable, pubsub, messaging

## Member repositories
- moquette-io/moquette (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:53.034141+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:30:09.430965+00:00, confidence not recorded.
  - readme: https://github.com/moquette-io/moquette (fetched 2026-08-28T04:06:53.034141+00:00, sha 87d267b0c423)
  - homepage: http://moquette-io.github.io/moquette/ (fetched 2026-08-29T10:11:22.833984+00:00, sha 66f7f5044a51)
- Data as of 2026-08-30T08:39:29.467469+00:00.
