c16a / hermes

Tiny MQTT broker written in Go

Home Page:https://c16a.github.io/hermes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hermes

Hermes is a tiny MQTT compatible broker written in Go.

Go Workflow Status

CodeQL Workflow Status

Go Report Card

Total alerts

The goals of the project are as below

  • Easy to compile, and run
  • Tiny footprint
  • Extensible
  • Adhering to standards

Current features

This is in no way ready to be consumed. This is a project which arose out of my boredom during COVID-19, and general issues whilst working with other production ready brokers such as ActiveMQ, Solace, NATS etc.

  • CONNECT
  • PUBLISH, PUBACK
  • SUBSCRIBE, SUBACK
  • DISCONNECT
  • Persistent sessions
  • QoS 2 support
  • Offline messages
  • Wildcard subscriptions
  • Shared Subscriptions
  • Extended authentication
  • MQTT over WebSocket
  • Clustering

Usage

Any compatible MQTT client library can be used to interact with the broker

Planned features

The following are some features from the top of my head which I will work on

  • Support for more transports such as WebSocket, gRPC, Rsocket(?)
  • Support for clustering
  • Authentication & extensible middleware
  • Message Persistence

Contributing

Fork it, give it a spin, and let me know!

About

Tiny MQTT broker written in Go

https://c16a.github.io/hermes

License:MIT License


Languages

Language:Go 99.3%Language:Dockerfile 0.7%