# fhmq/hmq

High performance mqtt broker

Repository: https://github.com/fhmq/hmq
Canonical: https://ross.abutalabs.com/products/hmq
Language: Go
License: Apache-2.0
License Family: permissive
Topics: mqtt, cluster, kafka, acl, performance-mqtt-broker, bridge, iot, broker, websocket, golang, go
Last push: 2026-08-21T13:00:07+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 66, longevity 100
- inputs: {"age_days": 3299, "days_push": 12, "days_rel": 12, "gap_med": 194.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1391, forks 281 (observed 2026-08-28T04:04:35.933442+00:00)

## What it is
HMQ is a high-performance MQTT broker written in Go, supporting MQTT 3.1.1 with QoS 0/1, retained and will messages, WebSockets, and TLS. It offers clustering via a router service, HTTP-based auth and ACL plugins, Kafka bridging, shared subscriptions, and an HTTP API for client management.

## Use cases
- run a high-throughput mqtt broker for iot devices
- cluster mqtt brokers for horizontal scaling
- bridge mqtt messages into kafka
- authenticate mqtt clients against an http backend
- serve mqtt over websockets for browser clients
- enforce per-topic acl permissions for mqtt clients
- get online/offline notifications for connected clients

## When to choose
- you need a lightweight, fast mqtt broker in go
- you want kafka integration for iot message pipelines
- you need clustered mqtt with shared subscriptions
- you prefer a simple single-binary broker with config-file setup

## When to avoid
- you need full mqtt 5.0 support
- you require qos 2 message delivery
- you want a broker with a large plugin ecosystem or gui dashboard
- you need enterprise-grade support and long-term vendor maintenance

## Facets
- artifact type: service
- maturity: active
- function: http-server, websocket, auth, middleware
- domain: iot, backend, networking
- platform: windows, go, cross-platform
- tags: mqtt-broker, mqtt, message-broker, pubsub, kafka-bridge, acl, cluster, qos, tls, shared-subscriptions, messaging, linux, macos, docker

## Member repositories
- fhmq/hmq (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.933442+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-30T04:39:36.169128+00:00, confidence not recorded.
  - readme: https://github.com/fhmq/hmq (fetched 2026-08-28T04:04:35.933442+00:00, sha 0aed4fbb582a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
