Score
0
Watch 96 Star 277 Fork 83

大汉刺史 / mqtt-pushJava

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
MQTT协议推送套件。设计运行在低流量网络环境复杂的设备上,每秒超过10W次IO读写性能良好。支持,websocket,tcp 包装的MQTT协议,支持HTTP form和JSON 形式的推送。 .有兴趣的加群145155309 交流 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

全新的MQTT 推送服务套件,考虑网页接入的可能性,添加了websocket 网关和HTTP网关。 pushserver 只管转发报文,pushadmin接管上下线状态和消息发送失败的情况。

输入图片说明

打包并且复制依赖包到lib mvn clean dependency:copy-dependencies package -Dmaven.test.skip=true -DincludeScope=runtime -DoutputDirectory=lib

启动网关 setsid java -jar mqtt-getway-0.0.1-SNAPSHOT.jar > getway.log

启动推送服务 setsid java -jar mqtt-server-0.0.1-SNAPSHOT.jar > push.log

docker运行

docker pull registry.cn-shanghai.aliyuncs.com/tianzhenjiu/mtp:1.0

docker run -p 8007:8007 -p 8008:8008 -p 8887:8887 --name mtp -d -t registry.cn-shanghai.aliyuncs.com/tianzhenjiu/mtp:1.0

Comments ( 20 )

Sign in for post a comment

Java
1
https://gitee.com/tianzhenjiu/mqtt-push.git
git@gitee.com:tianzhenjiu/mqtt-push.git
tianzhenjiu
mqtt-push
mqtt-push
master

Help Search