MQTT Message Broker with Scalability written in Java.
See full documentation at https://mithqtt.readme.io/
MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.
Mithqtt is an open source, distributed MQTT message broker for real world. It embraces the Microservices Architecture, and is designed to fit into complex server-side application.
As a MQTT message broker, Mithqtt scales both horizontally and vertically on commodity hardware to support a large number of concurrent MQTT clients while maintaing low latency and fault tolerence.
As a Microservice, Mithqtt is small self contained with little external dependencies, and expose interface through Cluster and HTTP to other microservices.
This is the high level architecture design of Mithqtt and its integration with server side applications.
Mithqtt broker is tested against MQTT Conformance/Interoperability Testing.
Test result:
$ python client_test.py -z -d -s
hostname localhost port 1883
clean up starting
clean up finished
Basic test starting
Basic test succeeded
Retained message test starting
Retained message test succeeded
This server is not queueing QoS 0 messages for offline clients
Offline message queueing test succeeded
Will message test succeeded
Overlapping subscriptions test starting
This server is publishing one message for all matching overlapping subscriptions, not one for each.
Overlapping subscriptions test succeeded
Keepalive test starting
Keepalive test succeeded
Redelivery on reconnect test starting
Redelivery on reconnect test succeeded
Zero length clientid test starting
Zero length clientid test succeeded
Subscribe failure test starting
Subscribe failure test succeeded
$ topics test starting
$ topics test succeeded
test suite succeeded