Skip to content

smartboot/smart-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,537 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License Version Docker Documentation

High-Performance, Plugin-based Enterprise MQTT Broker
Millions of connections, tens of millions of messages per second


Introduction

smart-mqtt is a high-performance MQTT Broker designed for enterprise IoT scenarios. Developed in Java with underlying communication based on the self-developed asynchronous non-blocking communication framework smart-socket, fully implementing the MQTT v3.1.1 and v5.0 protocol specifications.

Project Architecture

Key Advantages

  • Ultra-High Performance - Asynchronous non-blocking I/O architecture, millions of concurrent connections on a single node, tens of millions of messages per second with ultra-low latency
  • Ultra Lightweight - Distribution package size < 800KB, minimal dependencies, extremely low resource footprint
  • Zero Configuration - Out of the box, deploy and run quickly without complex configuration
  • Plugin Architecture - Modular design with hot-pluggable extensions, load features on demand without service restart
  • Enterprise High Availability - Native support for multi-node clustering, automatic load balancing and failover
  • Java Ecosystem - Zero-barrier integration with existing Java tech stacks, seamless development and operations
  • Standards Compliant - Full compliance with MQTT 3.1.1/5.0 protocol standards, supporting QoS 0/1/2 all quality levels

⚠️ License Notice: smart-mqtt is for personal learning use only. Commercial use is prohibited without authorization. Please contact us for commercial licensing at smart-mqtt official website.


Quick Start

Docker Deployment (Recommended)

docker run --name smart-mqtt \
  -p 1883:1883 \
  -p 18083:18083 \
  -d smartboot/smart-mqtt:latest
  • 1883 - MQTT service port
  • 18083 - Web management console (default credentials: smart-mqtt / smart-mqtt)

Local Installation

# Download and extract
curl -LO https://github.com/smartboot/smart-mqtt/releases/download/v1.5.5/smart-mqtt-full-v1.5.5.zip
unzip smart-mqtt-full-v1.5.5.zip -d smart-mqtt && cd smart-mqtt

# Start service
./start.sh

smart-mqtt adopts a plugin-based architecture. The enterprise-plugin provides an enterprise-grade Web management console.

Plugin Function Recommended For
enterprise-plugin Web console, RESTful API, user management Production environments
cluster-plugin Multi-node clustering, load balancing, node discovery High availability deployments
websocket-plugin WebSocket protocol support Web applications
mqtts-plugin SSL/TLS encrypted communication Security-sensitive scenarios
redis-bridge-plugin Message bridging to Redis Cache integration
simple-auth-plugin Username/password authentication, ACL Basic authentication

Project History

timeline
    title smart-mqtt Development Timeline
    2018 : Project Founded
         : Completed MQTT protocol codec framework
    2019-2021 : Focused on smart-socket performance optimization
    2022 : Restarted smart-mqtt
         : Completed core Broker and Client functionality
    2023 : Enterprise edition initiated
         : Web console and plugin system development
    2025 : Enterprise features fully open-sourced
         : v1.5.x officially released
    2026 : AI-Powered Management System Rebuild
         : Integrated Feat Agent for intelligent automation
Loading

Documentation


License: AGPL-3.0 | smartboot Official Website | 🇨🇳 简体中文

About

An open-source cloud-native distributed MQTT Broker server that supports the interconnection of massive IoT devices.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors