All Projects → MrHKing → mmqtt

MrHKing / mmqtt

Licence: Apache-2.0 license
An Open-Source, Distributed MQTT Broker for IoT.

Programming Languages

java
68154 projects - #9 most used programming language
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
Less
1899 projects
shell
77523 projects
HTML
75241 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to mmqtt

Jetlinks Community
JetLinks 基于Java8,Spring Boot 2.x ,WebFlux,Netty,Vert.x,Reactor等开发, 是一个全响应式的企业级物联网平台。支持统一物模型管理,多种设备,多种厂家,统一管理。统一设备连接管理,多协议适配(TCP,MQTT,UDP,CoAP,HTTP等),屏蔽网络编程复杂性,灵活接入不同厂家不同协议等设备。实时数据处理,设备告警,消息通知,数据转发。地理位置,数据可视化等。能帮助你快速建立物联网相关业务系统。
Stars: ✭ 2,405 (+4046.55%)
Mutual labels:  rule-engine, netty, reactor
dns4s
Scala DNS implementation with Akka and Netty extension
Stars: ✭ 55 (-5.17%)
Mutual labels:  akka, netty
akka-cluster-minimal
Akka Cluster - absolute minimal
Stars: ✭ 16 (-72.41%)
Mutual labels:  akka, cluster
Akkadotnet Code Samples
Akka.NET professional reference code samples
Stars: ✭ 451 (+677.59%)
Mutual labels:  akka, cluster
Reactor Netty
TCP/HTTP/UDP/QUIC client/server with Reactor over Netty
Stars: ✭ 1,743 (+2905.17%)
Mutual labels:  netty, reactor
Jetlinks
JetLinks Core
Stars: ✭ 380 (+555.17%)
Mutual labels:  rule-engine, reactor
Akka.net
Port of Akka actors for .NET
Stars: ✭ 4,024 (+6837.93%)
Mutual labels:  akka, cluster
im-bass
基础IM通信
Stars: ✭ 56 (-3.45%)
Mutual labels:  netty, reactor
Justindb
⚛️ JustinDB is a highly available globally distributed key-value data store.
Stars: ✭ 147 (+153.45%)
Mutual labels:  akka, cluster
Lighthouse
Lighthouse - a simple service discovery platform for Akka.Cluster (Akka.NET)
Stars: ✭ 164 (+182.76%)
Mutual labels:  akka, cluster
Cookim
Distributed web chat application base websocket built on akka.
Stars: ✭ 198 (+241.38%)
Mutual labels:  akka, cluster
Jupiter
Jupiter是一款性能非常不错的, 轻量级的分布式服务框架
Stars: ✭ 1,372 (+2265.52%)
Mutual labels:  netty, cluster
Javaok
必看!java后端,亮剑诛仙。java发展路线技术要点。
Stars: ✭ 867 (+1394.83%)
Mutual labels:  netty, raft
sample-spring-webflux
testing webclient reactive communication with spring boot reactive application built on top of spring webflux
Stars: ✭ 21 (-63.79%)
Mutual labels:  netty, reactor
netty-queue
Simple queue: java, json-rest, netty
Stars: ✭ 21 (-63.79%)
Mutual labels:  netty, raft
Reactive
Reactive: Examples of the most famous reactive libraries that you can find in the market.
Stars: ✭ 256 (+341.38%)
Mutual labels:  akka, reactor
Xenon
The MySQL Cluster Autopilot Management with GTID and Raft
Stars: ✭ 461 (+694.83%)
Mutual labels:  raft, cluster
Blast
Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Stars: ✭ 934 (+1510.34%)
Mutual labels:  raft, cluster
Gatling
Modern Load Testing as Code
Stars: ✭ 5,381 (+9177.59%)
Mutual labels:  akka, netty
slock
High-performance distributed sync service and atomic DB
Stars: ✭ 50 (-13.79%)
Mutual labels:  raft, cluster

GitHub issues Build Status 简体中文 | English

MMQ broker

MMQ broker 是一款完全开源,高度可伸缩,高可用的分布式 MQTT 消息服务器,适用于 IoT、M2M 和移动应用程序。

MMQ broker 完整支持MQTT V3.1 和 V3.1.1。

特征

  • 分布式MQTT服务

  • 万级连接数并发(3台 华为云1核2G 1M带宽)

  • MQTT V3.1 和 V3.1.1

  • 支持桥接(MYSQL、POSTGRESQL、SQLSERVER、KAFKA、TDENGINE、MQTT BROKER、Influxdb*)

  • 规则引擎 通过SQL进行规则转发

  • 管理API 对MMQ BROKER管理接口。

  • 认证鉴权 登录认证管理

  • 集群管理 在线配置和管理集群*

    *为正在开发中的功能

安装

MMQ broker 是跨平台的,支持 Linux、Unix、macOS 以及 Windows。这意味着 MMQ broker 可以部署在 x86_64 架构的服务器上。由于使用raft一致性算法,集群部署三个节点以上。

从 Github 上下载源码方式

git clone https://github.com/MrHKing/mmq.git
cd mmq
mvn -Prelease-mmq -Dmaven.test.skip=true clean install -U

直接安装

您可以从 最新稳定版本 下载 mmq-server-$version.zip 包。

unzip mmq-server-$version.zip 或者 tar -xvf mmq-server-$version.tar.gz
cd mmq/bin

Docker安装

docker run -d --name mmq -p 2883:2883 -p 1883:3883 -p 8888:8888  paperman/mmq:v1.0.8

Kubernetes安装

快速入门

单机版启动

cd mmq\bin
#windows start
startup.cmd -m standalone
cd mmq/bin
#linux start
sh startup.sh -m standalone
#linux shutdown
sh shutdown.sh

集群版启动

cd mmq/config
#配置集群文件
cp cluster.conf.example cluster.conf
#每个节点都需要配置其他节点的地址,如下:
#example
192.168.31.9:7777
192.168.31.9:8848
192.168.31.9:8888
cd mmq\bin
#windows start
startup.cmd
cd mmq/bin
#linux start
sh startup.sh
#linux shutdown
sh shutdown.sh

配置文件

mqtt tcp端口默认:3883

mqtt websocket端口:2883

#*************** Spring Boot Related Configurations ***************#
### Default web context path:
server.servlet.contextPath=/
### Default web server port:
server.port=8888

#*************** mqtt broker Configurations ***************#
mmq.broker.websocketPort=2883
mmq.broker.port=3883
mmq.broker.ssl.password=mmq
mmq.broker.ssl.certPath=cert/mmq.pfx
mmq.broker.ssl.port=17733
mmq.broker.ssl.websocketPort=36633
mmq.broker.default.user=admin
mmq.broker.default.password=admin@mmq
mmq.broker.default.anonymous=true

Dashboard --单机演示

启动后访问 http://101.43.4.211:8888/

默认账户:mmq

默认密码:aaaaaa

mqtt tcp端口默认:1883

mqtt websocket端口:2883

文档

详细参见 wiki

MQTT 规范

你可以通过以下链接了解与查阅 MQTT 协议:

MQTT Version 3.1.1

开源许可

Apache License 2.0, 详见 LICENSE

群号

QQ群: 1016132679

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].