Giter VIP home page Giter VIP logo

springboot-mqtt-demo's Introduction

Springboot整合EMqtt实现消息的发送(生产)和订阅(消费)

项目结构:

```
  ├─springboot-mqtt-producer       Springboot + mqtt 消息发布生产模块
  ├─springboot-mqtt-consumer       Springboot + mqtt 消息订阅消费模块
  ├─docker-emqtt.md                Docker下运行EMQTT服务
  ├─.gitignore                     .gitignore文件
  ├─README.md                      README.md文件
  └─pom.xml                        父模块pom文件
 ```

如何运行:

1.先将EMQTT服务运行起来.
2.配置yml文件, 运行生产者模块
3.配置yml文件, 运行消费者模块
4.访问生产者的http://localhost:8080/push/hello发送一条消息
5.消费者打印接收到的消息

参考: EMQTT官方文档

springboot-mqtt-demo's People

Contributors

pjqdyd avatar

Stargazers

 avatar  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.