# DrmagicE/gmqtt

Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.x and V5 in golang

Repository: https://github.com/DrmagicE/gmqtt
Canonical: https://ross.abutalabs.com/products/gmqtt
Language: Go
License: MIT
License Family: permissive
Topics: mqtt, mqtt-broker, mqtt-protocol, mqtt-server, server, gmqtt, golang
Last push: 2026-04-05T06:04:08+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 8, longevity 100
- inputs: {"age_days": 2908, "days_push": 150, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1046, forks 216 (observed 2026-08-28T04:03:21.727360+00:00)

## What it is
Gmqtt is a flexible, high-performance MQTT broker written in Go that fully implements MQTT protocol V3.x and V5. It offers a plugin mechanism, hooks for authentication/ACL, TLS and WebSocket support, Prometheus metrics, gRPC/REST admin APIs, Redis-backed session persistence, and an experimental clustering (federation) feature.

## Use cases
- run a self-hosted MQTT broker in Go
- handle IoT device telemetry over MQTT
- build a customizable MQTT broker with auth and ACL hooks
- monitor MQTT broker metrics with Prometheus
- persist MQTT sessions across broker restarts with Redis
- manage an MQTT broker via gRPC or REST APIs

## When to choose
- you need an embeddable or extensible MQTT broker in Go
- you want MQTT 3.x and 5 support with plugin-based customization
- you need WebSocket and TLS transport for MQTT clients
- you want built-in Prometheus metrics and admin APIs

## When to avoid
- the project is less maintained and the author recommends careful evaluation before production use
- you need production-proven clustering - the federation feature is experimental and never used in production
- you prefer a turnkey broker with minimal configuration
- you need persistence backends other than Redis

## Facets
- artifact type: service
- maturity: maintenance
- function: message-queue, middleware, monitoring, auth, websocket, rpc
- domain: iot, backend, developer-tools
- platform: go, self-hosted, cross-platform
- tags: mqtt-broker, mqtt-v5, iot-messaging, pub-sub, session-persistence, plugin-system, prometheus-metrics, grpc-api, messaging, linux, docker

## Member repositories
- DrmagicE/gmqtt (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:21.727360+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-30T07:01:54.334210+00:00, confidence not recorded.
  - readme: https://github.com/DrmagicE/gmqtt (fetched 2026-08-28T04:03:21.727360+00:00, sha 0e30250241a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
