1 Star 0 Fork 583

hjh2096 / mica-mqtt

forked from 如梦技术 / mica-mqtt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README_EN.md 6.95 KB
一键复制 编辑 原始数据 按行查看 历史
浅梦 提交于 2023-12-26 10:16 . :sparkles:优化 README.md

🌐 mica mqtt

Java CI JAVA 8 Mica Maven release Mica-mqtt maven snapshots

star GitHub Repo stars Codacy Badge GitHub


English | 简体中文

mica-mqtt is a low-latency and high-performance mqtt Internet of Things component. For more usage details, please refer to the mica-mqtt-example module.

🍱 Use Cases

  • Internet of Things (cloud-based MQTT broker)
  • Internet of Things (edge messaging communication)
  • Group IM
  • Message push
  • Easy-to-use MQTT client

🚀 Advantages

  • Ordinary yet not monotonous, simple yet not lackluster.
  • Manual transmission (more conducive to secondary development or expansion).
  • A newborn calf; infinite possibilities.

✨ Features

  • Support for MQTT v3.1, v3.1.1, and v5.0 protocols.
  • Support for WebSocket MQTT sub-protocol (compatible with mqtt.js).
  • Support for HTTP REST API, see HTTP API Documentation for details.
  • Support for MQTT client.
  • Support for MQTT server.
  • Support for MQTT Will messages.
  • Support for MQTT Retained messages.
  • Support for custom message (MQ) processing and forwarding to achieve clustering.
  • MQTT client Alibaba Cloud MQTTHuaWei MQTT connection demo.
  • Support for GraalVM compilation into native executable programs.
  • Support for rapid access to Spring Boot projects.
  • Support for integration with Prometheus + Grafana for monitoring.
  • Cluster implementation based on Redis pub/sub, see mica-mqtt-broker module for details.

🌱 To-do

  • Optimize the processing of MQTT sessions and support v5.0
  • Implement rule engine based on easy-rule + druid sql parsing.

🚨 Default Ports

Port Protocol Description
1883 tcp MQTT TCP port
8083 http, websocket HTTP API and WebSocket MQTT port

Demo Address: mqtt.dreamlu.net, same ports,username: mica password: mica

📦️ Dependencies

Spring Boot Project

Client:

<dependency>
  <groupId>net.dreamlu</groupId>
  <artifactId>mica-mqtt-client-spring-boot-starter</artifactId>
  <version>${mica-mqtt.version}</version>
</dependency>

Configuration Details: mica-mqtt-client-spring-boot-starter Documentation

Server:

<dependency>
  <groupId>net.dreamlu</groupId>
  <artifactId>mica-mqtt-server-spring-boot-starter</artifactId>
  <version>${mica-mqtt.version}</version>
</dependency>

Configuration Details: mica-mqtt-server-spring-boot-starter Documentation

Non-Spring Boot Project

Client

<dependency>
  <groupId>net.dreamlu</groupId>
  <artifactId>mica-mqtt-client</artifactId>
  <version>${mica-mqtt.version}</version>
</dependency>

Configuration Details: mica-mqtt-client Documentation

Server

<dependency>
  <groupId>net.dreamlu</groupId>
  <artifactId>mica-mqtt-server</artifactId>
  <version>${mica-mqtt.version}</version>
</dependency>

Configuration Details: mica-mqtt-server Documentation

📝 Documentation

💡 References

🏗️ MQTT Client Tools

🍻 Open Source Recommendations

💚 Acknowledgements

Thanks to JetBrains for providing a free open-source license:

JetBrains

Thanks to VIP members of DreamLuTech for their strong support. For more VIP information, please visit: https://www.dreamlu.net/vip/index.html

📱 WeChat

DreamLuTech

JAVA Architecture Diary, daily recommended exciting content!

Java
1
https://gitee.com/hjh2096/mica-mqtt.git
git@gitee.com:hjh2096/mica-mqtt.git
hjh2096
mica-mqtt
mica-mqtt
master

搜索帮助