# fusesource/mqtt-client

A Java MQTT Client

Repository: https://github.com/fusesource/mqtt-client
Canonical: https://ross.abutalabs.com/products/mqtt-client
Homepage: http://mqtt-client.fusesource.org/
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2021-09-15T02:33:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5373, "days_push": 1814, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1277, forks 363 (observed 2026-08-28T04:04:13.278300+00:00)

## What it is
A Java MQTT client library providing blocking, futures-based, and callback APIs for MQTT publish/subscribe messaging. It handles automatic reconnection and session restoration after network failures.

## Use cases
- connect to an MQTT broker from Java
- publish and subscribe to IoT telemetry topics
- build an MQTT client with automatic reconnection
- send machine-to-machine messages over MQTT
- use MQTT from legacy Java 1.4 JVMs

## When to choose
- you need a lightweight pure-Java MQTT client
- you want multiple API styles (blocking, futures, callbacks)
- you need automatic reconnect and session restore
- you must support old JVMs like Java 1.4

## When to avoid
- you need MQTT 5.0 features (this targets MQTT 3.1.1)
- you want an actively developed library with frequent releases
- you are not on the JVM

## Facets
- artifact type: library
- maturity: maintenance
- function: message-queue, http-client, networking
- domain: iot, developer-tools
- platform: jvm, cross-platform
- tags: mqtt, publish-subscribe, iot-messaging, java-client, reconnect-handling, messaging

## Member repositories
- fusesource/mqtt-client (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.278300+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-30T05:02:49.775387+00:00, confidence not recorded.
  - readme: https://github.com/fusesource/mqtt-client (fetched 2026-08-28T04:04:13.278300+00:00, sha 9d65f2702032)
- Data as of 2026-08-30T08:39:29.467469+00:00.
