{"id":36419329,"url":"https://github.com/smartboot/smart-mqtt","last_synced_at":"2026-02-08T08:20:41.818Z","repository":{"id":41095832,"uuid":"482217616","full_name":"smartboot/smart-mqtt","owner":"smartboot","description":"一款开源的云原生分布式 MQTT Broker 服务器，支持海量物联网设备互联互通。","archived":false,"fork":false,"pushed_at":"2025-12-15T11:41:00.000Z","size":69827,"stargazers_count":164,"open_issues_count":0,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-12-18T12:49:50.953Z","etag":null,"topics":["aiot","iot","message-broker","mqtt","mqtt-broker","mqtt-client","mqtt-server"],"latest_commit_sha":null,"homepage":"https://smartboot.tech/smart-mqtt/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartboot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-16T09:59:32.000Z","updated_at":"2025-12-15T11:41:03.000Z","dependencies_parsed_at":"2023-10-24T15:28:59.213Z","dependency_job_id":"21ec1d0b-e396-4ed2-b559-dd265dbb07be","html_url":"https://github.com/smartboot/smart-mqtt","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/smartboot/smart-mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartboot%2Fsmart-mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartboot%2Fsmart-mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartboot%2Fsmart-mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartboot%2Fsmart-mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartboot","download_url":"https://codeload.github.com/smartboot/smart-mqtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartboot%2Fsmart-mqtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiot","iot","message-broker","mqtt","mqtt-broker","mqtt-client","mqtt-server"],"created_at":"2026-01-11T17:02:51.907Z","updated_at":"2026-02-08T08:20:41.812Z","avatar_url":"https://github.com/smartboot.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart-MQTT\n\n[![License](https://img.shields.io/badge/license-AGPL--3.0-blue.svg)](LICENSE)\n[![Version](https://img.shields.io/badge/version-1.5.1-green.svg)](https://github.com/smartboot/smart-mqtt/releases)\n[![Docker Pulls](https://img.shields.io/docker/pulls/smartboot/smart-mqtt.svg)](https://hub.docker.com/r/smartboot/smart-mqtt)\n\n## 项目介绍\n\nsmart-mqtt 是用 Java 语言开发的 MQTT Broker 服务，也是 smartboot 组织下首款真正意义上面向物联网的解决方案。旨在帮助企业以较低的成本快速搭建稳定、可靠的物联网服务，助力万物互联互通。\n\n![项目架构](https://smartboot.tech/assets/img/framework.87b57b29.svg)\n\nsmart-mqtt 底层通信采用了异步非阻塞通信框架 smart-socket，现已实现了完整的 MQTT v3.1.1/v5.0 协议。\n\n\u003e **重要提示**: smart-mqtt 代码仅供个人学习使用，**任何个体、组织未经授权不得将此产品用于商业目的**。\n\u003e - 在线体验：[http://115.190.30.166:8083/](http://115.190.30.166:8083/)\n\u003e - 账号密码：smart-mqtt / smart-mqtt\n\n## 🚀 快速开始\n\n### 方式一：Docker 快速启动\n\n```bash\ndocker run --name smart-mqtt \\\n  -p 1883:1883 \\\n  -p 18083:18083 \\\n  -d smartboot/smart-mqtt:1.5.1\n```\n\n服务启动后，可以通过以下端口访问：\n- MQTT 服务端口：1883\n- 管理面板端口：18083\n\n### 方式二：本地安装包启动\n\n从 Release 页面下载预编译的安装包：\n\n```bash\n# 下载最新版本的安装包\n# 请前往 GitHub Release 页面下载：\n# https://github.com/smartboot/smart-mqtt/releases\n\n# 解压安装包\ntar -xzf smart-mqtt-*.tar.gz\ncd smart-mqtt-*\n\n# 启动服务\n./bin/start.sh\n```\n\n\n## 📦 下载地址\n\n您可以从以下渠道获取最新的发布版本：\n\n- **GitHub Releases**: https://github.com/smartboot/smart-mqtt/releases\n- **Gitee Releases**: https://gitee.com/smartboot/smart-mqtt/releases\n- **Docker Hub**: https://hub.docker.com/r/smartboot/smart-mqtt\n\n## 🏗️ 项目结构\n\n```\nsmart-mqtt/\n├── smart-mqtt-broker/       # MQTT Broker 主模块\n├── smart-mqtt-client/       # MQTT 客户端 SDK\n├── smart-mqtt-common/       # 公共模块\n├── smart-mqtt-plugin-spec/  # 插件规范定义\n├── smart-mqtt-maven-plugin/ # Maven 插件\n├── smart-mqtt-bench/        # 性能测试工具\n├── plugins/                 # 插件集合\n│   ├── cluster-plugin/      # 集群插件\n│   ├── enterprise-plugin/   # 企业版插件\n│   └── simple-auth-plugin/  # 简单认证插件\n├── docker-compose.yml       # Docker 编排文件\n├── Makefile                 # 构建脚本\n└── install.sh              # 安装脚本\n```\n\n## ✨ 产品特色\n\n### 🛠️ 核心技术\n\n- **国产血统**：从底层通信（smart-socket）直至应用层 Broker 服务（smart-mqtt）皆为自研\n- **极致轻量**：极少的外部依赖，发行包不足 800KB\n- **高能低耗**：运用设计和算法技巧充分发挥硬件能力\n\n### 🚀 部署体验\n\n- **开箱即用**：零配置即可启动 MQTT Broker 服务\n- **灵活扩展**：通过插件机制，提供高度自由的定制化能力\n- **多平台支持**：支持 Docker、本地部署、源码编译等多种部署方式\n\n### 📊 协议支持\n\n- **完整协议**：实现了 MQTT v3.1.1 和 v5.0 协议\n- **高并发**：支持百万级设备连接\n- **QoS 支持**：支持 QoS 0、1、2 三种消息质量等级\n\n---\n\n**注意**: 商业使用请联系授权！\n## 项目发展\n- 2018年，创建 smart-mqtt 项目，完成基本的协议编解码结构搭建。\n- 2019~2021年，项目基本处于停更状态，期间重心在于提升底层通信框架 smart-socket 的性能。\n- 2022年，重启 smart-mqtt。基本完成 mqtt  broker 和 client 的功能开发。\n- 2023年，smart-mqtt企业版立项。\n- 2025年，smart-mqtt企业版功能全面开源。\n\n\n## 参考资料\n1. 《MQTT协议3.1.1中文版》\n2. [moquette](https://github.com/moquette-io/moquette)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartboot%2Fsmart-mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartboot%2Fsmart-mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartboot%2Fsmart-mqtt/lists"}