# COOLPY7千万级MQTT消息服务器

{% hint style="info" %}
Coolpy7官方网站： <http://coolpy.net>

Coolpy7开源地址：<https://github.com/Coolpy7>

Coolpy7社区版开源地址：<https://github.com/Coolpy7/Coolpy7_Community>
{% endhint %}

Coolpy7 完整支持 MQTT V3.1/V3.1.1 版本协议规范，并扩展支持 MQTT-SN 、WebSocket等协议。Coolpy7消息服务器支持单节点1000万连接及配套OAuth2用户中心解决方案: &#x20;

![Coolpy7技术架构](/files/-Mf6ReHiNpikkn7VV1RD)

* Coolpy7为核心服务器端
* Coolpy Gen Protocol（CGP）是由Coolpy团队设计的《通用型IOT消息协议》支持非协商式实现数据结点，文件或图片中心，直接以规范的消息可实现相关功能，无需另外对接或开发工作
* Coolpy7 DBPoxy是数据库中转器，支持主流的pgsql\mysql\mssql\mongodb等。此功能需与Coolpy Gen Protocol一并使用
* Coolpy 用户中心是基于OAuth2规范的用户中心系统，支持以应用授权方式发放Token，并使用JWT方式发放Token即可直接实现SSO功能
* MQTT-SN Gateway是MQTT-SN协议网关，支持使用LoRA或其他433类无线组网
* 消息钩子中间件可让用户自由编写Coolpy7内核相关事件的逻辑功能代码，可对接现有的业务系统之用

Coolpy7为大规模设备连接 (C10000K+) 的物联网、车联网、智能硬件、移动推送、移动消息等应用，提供一个安装部署简便、企业级稳定可靠、可弹性扩展、易于定制开发的 MQTT 消息服务器。原生支持分布式部署及docker镜像。并提供完整解决方案，包括APP物联网操控端、用户中心、业务数据处理能力、消息钩子等。除原生支持TCP接入，还提供WebSocket、TLS、TLS WebSocket、MQTT-SN等扩展服务。

![QQ技术交流群](/files/-MfXPuNV7HMwb1RcY1GK)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://coolpy7.gitbook.io/coolpy7book/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
