26 Star 140 Fork 52

老寇云/KCloud-Platform-IoT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

📌 作者的话

即使KCloud-Platform-IoT有诸多瑕疵,也掩盖不住它的光芒。

它就像是作者的孩子一样,在作者的眼中,它就是趋于完美的存在!

🎉 项目备注

  • 项目:KCloud-Platform-IoT(阻塞式)

  • 作者:老寇

  • 语言:Java

  • 时间:2022.06.15 ~ 至今

📣 项目介绍

LOGO

KCloud-Platform-IoT(阻塞式)(老寇IoT云平台)是一个企业级微服务架构的IoT云平台。基于Spring Boot 3.4.0、Spring Cloud 2024.0.0、Spring Cloud Alibaba 2023.0.1.3 最新版本开发的云服务多租户IoT平台。 遵循SpringBoot编程思想,使用阿里COLA应用框架构建,高度模块化和可配置化。具备服务注册&发现、配置中心、灰度路由、服务限流、熔断降级、监控报警、多数据源、高亮搜索、分布式任务调度、分布式链路、分布式缓存、分布式事务、分布式存储、分布式锁等功能,用于快速构建IoT微服务项目。目前支持Shell、Docker等多种部署方式,并且支持GraalVM和虚拟线程。实现RBAC权限、其中包含系统管理、物联管理、系统监控、数据分析等几大模块。 遵循阿里代码规范,采用RESTFul设计风格及DDD(领域驱动设计)思想,代码简洁、架构清晰,非常适合作为基础框架使用。

Maven Ci Build Stauts Node.js CI Build Stauts CircleCI Codecov

DeepSource Active Issues DeepSource Resolved Issues Codacy CodeFactor

GitHub stars GitHub forks GitHub watchers GitHub last commit

Gitee star Gitee fork

Spring Framework Spring Boot Spring Cloud Spring Cloud Alibaba OAuth 2.1

GraalVM Maven

CLA assistant 代码行数 Wakatime KCloud-Platform开源交流群

😋 项目背景

  • 学习微服务架构设计并实践于生产

  • 整合所学技术方便快速搭建项目

  • 持续优化代码来提高代码质量

  • 复制粘贴代码提高生产效率

  • 学习DDD思想并落地实践

  • 项目驱动学习任何知识

🔗 在线体验

序号 账号 密码

1

admin

admin123

😎 开发计划

💪 版本号

特此说明,与Spring Boot版本保持一致

🔎 功能介绍

🚀 正在重构,敬请期待

💡 系统架构

架构图

✂ 技术体系

🎯 Spring全家桶及核心技术版本

组件 版本

Spring Boot

3.4.0

Spring Cloud

2024.0.0

Spring Cloud Alibaba

2023.0.1.3

Spring Boot Admin

3.3.6

Spring Authorization Server

1.4.0

Mybatis Plus

3.5.9

Nacos

2.4.3

Sentinel

1.8.8

Redis

7.4.0

Elasticsearch

8.16.0

RocketMQ

5.3.2

Netty

4.1.115.Final

Kafka

3.8.0

EMQX

5.8.1

TimescaleDB

17

TDengine

3.3.2.0

Liquibase

4.29.1

Snail Job

1.1.2

🍺 相关技术

  • 配置中心&服务注册&发现:Nacos

  • API网关:Spring Cloud Gateway

  • 认证授权:Spring Security OAuth2 Authorization Server

  • 远程调用:Spring Cloud OpenFeign & OkHttp & HttpClient & WebClient & RestClient

  • 负载均衡:Spring Cloud Loadbalancer

  • 服务熔断&降级&限流:Sentinel

  • 分库分表:Mybatis Plus

  • 分布式事务:RocketMQ

  • 消息队列:RocketMQ & Kafka & MQTT

  • 服务监控:Spring Boot Admin & Prometheus

  • 高亮搜索:Elasticsearch

  • 链路跟踪:Jaeger

  • 任务调度:Snail Job

  • 日志分析:EFK

  • 缓存&分布式锁:Redis & Redisson

  • 统计报表:MongoDB

  • 对象存储:Amazon S3

  • 自动化部署:Docker

  • 网络通讯:Netty

  • 持续集成&交付:Jenkins

  • 持久层框架:Mybatis Plus

  • JSON序列化:Jackson

  • 数据库:Postgresql

  • 时序数据库:TimescaleDB & TDengine

  • 数据库迁移:Liquibase

  • 链路&指标采集:Micrometer

🌴 项目结构

├── laokou-common
        └── laokou-common-xss                      --- XSS组件
        └── laokou-common-log                      --- 日志组件
        └── laokou-common-core                     --- 核心组件
        └── laokou-common-cors                     --- 跨域组件
        └── laokou-common-mqtt                     --- 消息组件
        └── laokou-common-redis                    --- 缓存组件
        └── laokou-common-kafka                    --- 消息组件
        └── laokou-common-log4j2                   --- 日志组件
        └── laokou-common-mongodb                  --- 报表组件
        └── laokou-common-rocketmq                 --- 消息组件
        └── laokou-common-algorithm                --- 算法组件
        └── laokou-common-prometheus               --- 监控组件
        └── laokou-common-openapi-doc              --- 文档组件
        └── laokou-common-rate-limiter             --- 限流组件
        └── laokou-common-elasticsearch            --- 搜索组件
        └── laokou-common-bom                      --- 依赖版本库
        └── laokou-common-i18n                     --- 国际化组件
        └── laokou-common-sensitive                --- 敏感词组件
        └── laokou-common-extension                --- 扩展点组件
        └── laokou-common-lock                     --- 分布式锁组件
        └── laokou-common-trace                    --- 链路跟踪组件
        └── laokou-common-nacos                    --- 注册发现组件
        └── laokou-common-netty                    --- 网络通讯组件
        └── laokou-common-domain                   --- 领域事件组件
        └── laokou-common-crypto                   --- 加密解密组件
        └── laokou-common-secret                   --- 接口验签组件
        └── laokou-common-security                 --- 认证授权组件
        └── laokou-common-openfeign                --- 远程调用组件
        └── laokou-common-snail-job                --- 任务调度组件
        └── laokou-common-data-cache               --- 数据缓存组件
        └── laokou-common-mybatis-plus             --- 对象映射组件
        └── laokou-common-tdengine                 --- 时序数据库组件
        └── laokou-common-sentinel                 --- 服务限流&熔断降级组件
├── laokou-cloud
        └── laokou-nacos                           --- 服务治理
        └── laokou-gateway                         --- API网关
        └── laokou-monitor                         --- 服务监控
        └── laokou-sentinel                        --- 流量治理
        └── laokou-snail-job                       --- 分布式任务调度
├── laokou-service
        └── laokou-iot                             --- 物联网模块
        └── laokou-auth                            --- 认证授权模块
        └── laokou-admin                           --- 后台管理模块
        └── laokou-report                          --- 报表统计模块
        └── laokou-logstash                        --- 日志收集模块
        └── laokou-generator                       --- 模板生成模块

🔒 安全报告

https://www.murphysec.com/console/report/1717540049993383936/1810494453766979584

👊 性能评测

😝 贡献者许可协议

😛 用户权益(点个Star,拜托啦~🙏)

  • Apache2.0开源协议,请保留作者、Copyright信息,否则视为侵权【免费用于毕设、二开、商用、二次开源】

  • Apache2.0开源协议,请保留作者、Copyright信息,否则视为侵权【免费用于毕设、二开、商用、二次开源】

  • Apache2.0开源协议,请保留作者、Copyright信息,否则视为侵权【免费用于毕设、二开、商用、二次开源】

😻 开源协议

KCloud-Platform-IoT 开源软件遵循 Apache 2.0 协议 请务必保留作者、Copyright信息

🐮 二次开源登记(二次开源不允许更换开源协议,否则视为侵权)

序号

Github项目

Gitee项目

1

xht-cloud-platform

xht-cloud-platform

🔧 参与贡献

👀 项目地址

🔪 技术分享

微信公众号 知识星球

🙋 技术交流

微信 微信交流群 QQ交流群

🐼 鸣谢个人

序号 头像 名字

1

KouShenhai的头像

KouShenhai

2

liang99的头像

liang99

3

livk-cloud的头像

livk-cloud

4

liukefu2050的头像

liukefu2050

5

HalfPomelo的头像

HalfPomelo

6

lixin的头像

lixin

7

simman的头像

simman

8

suhengli的头像

suhengli

9

gitkakafu的头像

gitkakafu

10

LeiZhiMin1的头像

LeiZhiMin1

⛳️ 赞助列表(感谢各位大佬的赞助)

时间 网名 赞助 备注

2024/08/01

*ckai

¥88.00

加油~

2024/04/19

*保熟

¥188.00

越做越好

2024/03/20

A细节*

¥66.00

2024/03/03

y*i

¥58.88

2024/01/30

*阳

¥10

2023/12/22

*民

服务器

2023/12/08

*来

¥10

希望越来越好,一直坚持下去

2023/12/08

*迪

¥20

越来越好,继续干下去

2023/10/07

何*

¥399

作者说:感谢支持

2023/08/27

*界

¥10

希望越来越好

2023/06/29

¥20

希望项目一直做下去就好

2023/03/27

s*e

¥10

🚫 免责声明

禁止使用本项目从事一切违法犯罪活动。作者不承担任何法律责任,特此声明

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright (c) 2022-2024 KCloud-Platform-IoT Author or Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

KCloud-Platform-IoT(阻塞式)(老寇IoT云平台)是一个企业级微服务架构的IoT云平台。采用DDD(领域驱动设计)思想,基于Spring Boot 3.4.0、Spring Cloud 2024.0.0、Spring Cloud Alibaba 2023.0.1.3 最新版本开发的云服务多租户IoT平台,家人们,点个star,拜托啦~ 展开 收起
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/laokouyun/KCloud-Platform-IoT.git
git@gitee.com:laokouyun/KCloud-Platform-IoT.git
laokouyun
KCloud-Platform-IoT
KCloud-Platform-IoT
master

搜索帮助