GithubHelp home page GithubHelp logo

tempbottle / iot_push Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 1ssqq1lxr/iot_push

0.0 1.0 0.0 332 KB

基于netty+mqtt3.1.1+springboot+jdk8 实现的 mqtt 服务端跟客户端

Java 100.00%

iot_push's Introduction

iot_push

基于netty+mqtt 3.1.1协议开发的物联网消息推送框架。

项目目录

更新日志

基于netty4.1-final+springboot实现的 Mqtt 3.1.1 物联网标准推送协议

mqtt简介

MQTT 协议是 IBM 开发的即时通讯协议,相对于 IM 的实际上的准标准协议 XMPP 来说,MQTT 更小,更快,更轻量。MQTT 适合于任何计算能力有限,工作在低带宽、不可靠的网络中的设备,包括手机,传感器等等。

功能

## 服务端 example(iot_push_server_starter_test)

已实现:

  • 发布订阅功能
  • 遗言通知
  • 会话session数据
  • 发布保留消息
  • 主题过滤(/test 会接受到 /test/yy 的主题消息)
  • 实现标准的 qos0 qos1 qos2消息确认机制
  • ssl加密
  • 支持ws协议
  • 集成spring容器

如何使用

  • 安装lombok插件
  • 下载源码
  • springboot
  • jdk8
  • 导入IDE
  • 配置yml 或者properties 文件 yml
  • 简单测试:运行包 test 下的 测试 文件,即可开启测试客户端。
  • 压力测试:推荐使用jmeter 的mqtt插件 插件

## 客户端 example(iot_push_client_starter_test)

  • 基于springboot 配置方式yml

  • 配置实现 MqttListener 类并添加MqttMessageListener指定订阅的topic跟服务质量

  • @Autowired Procuder producer 即可使用;

  • 编码 java

交流群号 658212670

iot_push's People

Contributors

1ssqq1lxr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.