Microservices platform
基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。
* **详细在线文档** :https://www.kancloud.cn/zlt2000/microservices-platform/919418 * **[项目更新日志](https://www.kancloud.cn/zlt2000/microservices-platform/936235)** * **[文档更新日志](https://www.kancloud.cn/zlt2000/microservices-platform/936236)** * **演示环境地址**: [http://zlt2000.cn](http://zlt2000.cn/) * 账号密码:admin/admin * Grafana账号:zlt/zlt123 * **演示环境有全方位的监控示例:日志系统 + APM系统 + GPE系统** * Gitee地址:https://gitee.com/zlt2000/microservices-platform * Github地址:https://github.com/zlt2000/microservices-platform * 前后端分离的企业级... The project is written primarily in Java, distributed under the Apache License 2.0 license, first published in 2019. It has gained significant community traction with 4,735 stars and 1,684 forks on GitHub. Key topics include: elk, gpe, java, jwt, microservices.
zlt-microservices-platform
<p align="center"> <img src="https://img.shields.io/badge/Version-6.0.0-critical" alt="Downloads"/> <img src="https://img.shields.io/badge/JDK-17-8A2BE2" alt="Downloads"/> <img src="https://img.shields.io/badge/Spring Authorization Server-1.1.3-40A24E" alt="Downloads"/> <img src="https://img.shields.io/badge/Spring%20Boot-3.1.6-blue" alt="Downloads"/> <img src="https://img.shields.io/badge/Spring%20Cloud-2022.0.4-blue" alt="Downloads"/> <img src="https://img.shields.io/badge/Spring%20Cloud%20Alibaba-2022.0.0.0-blue" alt="Downloads"/> <img src="https://img.shields.io/badge/Elasticsearch-7.x-34A2AE" alt="Downloads"/> <img src="https://img.shields.io/badge/Ant%20Design-pro-9cf" alt="Downloads"/> </p>如果您觉得有帮助,请点右上角 "Star" 支持一下谢谢
1. 总体架构图

2. 功能介绍

3. 项目介绍
- 技术交流群
- 详细在线文档 :https://www.kancloud.cn/zlt2000/microservices-platform/919418
- 演示环境地址: http://zlt2000.cn
- 账号密码:admin/admin
- Grafana账号:zlt/zlt123
- 演示环境有全方位的监控示例:日志系统 + APM系统 + GPE系统
- Gitee地址:https://gitee.com/zlt2000/microservices-platform
- Github地址:https://github.com/zlt2000/microservices-platform
- 前后端分离的企业级微服务架构
- 主要针对解决微服务和业务开发时常见的非功能性需求
- 基于
Spring Authorization Server深度定制Spring Security真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案 - 提供应用管理,方便第三方系统接入,支持多租户(应用隔离)
- 引入组件化的思想实现高内聚低耦合并且高度可配置化
- 注重代码规范,严格控制包依赖,每个工程基本都是最小依赖
- 非常适合学习和企业中使用
重构于开源项目OCP&cp:https://gitee.com/owenwangwen/open-capacity-platform
4. 分支说明
| 分支名 | JDK | Spring Boot | Spring Cloud | Spring Security |
|---|---|---|---|---|
| master | 17 | 3.x | 2022.x | Spring Authorization Server |
| 5.x | 1.8 | 2.5.x | 2020.x | Spring Security OAuth |
| 4.x | 1.8 | 2.3.x | 2.2.x | Spring Security OAuth |
5. 模块说明
<table> <tr> <td><a target="_blank" href="https://www.aliyun.com/minisite/goods?userCode=dickv1kw&share_source=copy_link"><img width="460px" height="177px" alt="阿里云" src="https://gitee.com/zlt2000/images/raw/master/aly.jpg"/></a></td> <td><a target="_blank" href="https://cloud.tencent.com/act/cps/redirect?redirect=1074&cps_key=5516bbd5876cd224d90bd41d53d3f7fe&from=console"><img width="460px" height="177px" alt="腾讯云" src="https://gitee.com/zlt2000/images/raw/master/txy.jpg"/></a></td> </tr> </table>luacentral-platform -- 父项目,公共依赖 │ ├─zlt-business -- 业务模块一级工程 │ │ ├─user-center -- 用户中心[7000] │ │ ├─file-center -- 文件中心[5000] │ │ ├─code-generator -- 代码生成器[7300] │ │ ├─search-center -- 搜索中心 │ │ │ ├─search-client -- 搜索中心客户端 │ │ │ ├─search-server -- 搜索中心服务端[7100] │ │─zlt-commons -- 通用工具一级工程 │ │ ├─zlt-auth-client-spring-boot-starter -- 封装spring security client端的通用操作逻辑 │ │ ├─zlt-common-core -- 封装通用操作逻辑 │ │ ├─zlt-common-spring-boot-starter -- 封装通用操作逻辑 │ │ ├─zlt-db-spring-boot-starter -- 封装数据库通用操作逻辑 │ │ ├─zlt-log-spring-boot-starter -- 封装log通用操作逻辑 │ │ ├─zlt-redis-spring-boot-starter -- 封装Redis通用操作逻辑 │ │ ├─zlt-loadbalancer-spring-boot-starter -- 封装Loadbalancer和Feign的通用操作逻辑 │ │ ├─zlt-sentinel-spring-boot-starter -- 封装Sentinel的通用操作逻辑 │ │ ├─zlt-elasticsearch-spring-boot-starter -- 封装Elasticsearch通用操作逻辑 │ │ ├─zlt-oss-spring-boot-starter -- 封装对象存储通用操作逻辑 │ │ ├─zlt-zookeeper-spring-boot-starter -- 封装Zookeeper通用操作逻辑 │ ├─zlt-config -- 配置中心 │ ├─zlt-doc -- 项目文档 │ ├─zlt-gateway -- api网关一级工程 │ │ ├─sc-gateway -- spring-cloud-gateway[9900] │ ├─zlt-monitor -- 监控一级工程 │ │ ├─sc-admin -- 应用监控[6500] │ │ ├─log-center -- 日志中心[7200] │ ├─zlt-uaa -- spring-security认证中心[8000] │ ├─zlt-register -- 注册中心Nacos[8848] │ ├─zlt-web -- 前端一级工程 │ │ ├─layui-web -- layui前端[8066] │ │ ├─react-web -- react前端[8066] │ ├─zlt-demo -- demo一级工程 │ │ ├─dubbo-demo -- dubbo服务demo │ │ ├─resource-server-demo -- 资源服务器demo │ │ ├─seata-demo -- seata分布式事务demo │ │ ├─sharding-jdbc-demo -- sharding-jdbc分库分表demo │ │ ├─rocketmq-demo -- rocketmq和mq事务demo │ │ ├─sso-demo -- 单点登录demo │ │ ├─websocket-demo -- websocket demo
6. 交流反馈
- 有问题先看看 F&Q 中有没有相关的回答
- 欢迎提交
ISSUS,请写清楚问题的具体原因,重现步骤和环境(上下文) - 项目/微服务交流请进群:
- 一群:250883130(已满)
- 二群:1041797659(已满)
- 三群:512637767
- 个人博客:http://zlt2000.gitee.io
- 个人邮箱:zltdiablo@163.com
- 个人公众号:陶陶技术笔记
- GitChat:https://gitbook.cn/gitchat/author/5b2362320398d50d7b7ab29e
7. 截图(点击可大图预览)
<table> <tr> <td><img alt="首页" src="https://gitee.com/zlt2000/images/raw/master/%E9%A6%96%E9%A1%B5.png"/></td> <td><img alt="用户搜索" src="https://gitee.com/zlt2000/images/raw/master/%E7%94%A8%E6%88%B7%E6%90%9C%E7%B4%A2.png"/></td> </tr> <tr> <td><img alt="日志系统" src="https://gitee.com/zlt2000/images/raw/master/%E6%97%A5%E5%BF%97%E7%B3%BB%E7%BB%9F.png"/></td> <td><img alt="日志链路" src="https://gitee.com/zlt2000/images/raw/master/%E6%97%A5%E5%BF%97%E9%93%BE%E8%B7%AF.png"/></td> </tr> <tr> <td><img alt="server_metrics" src="https://gitee.com/zlt2000/images/raw/master/server_metrics.png"/></td> <td><img alt="application_metrics" src="https://gitee.com/zlt2000/images/raw/master/application_metrics.png"/></td> </tr> <tr> <td><img alt="skywalking首页.png" src="https://gitee.com/zlt2000/images/raw/master/skywalking%E9%A6%96%E9%A1%B5.png"/></td> <td><img alt="skywalking应用拓扑图" src="https://gitee.com/zlt2000/images/raw/master/skywalking%E5%BA%94%E7%94%A8%E6%8B%93%E6%89%91%E5%9B%BE.png"/></td> </tr> <tr> <td><img alt="elk" src="https://gitee.com/zlt2000/images/raw/master/elk.png"/></td> <td><img alt="任务中心" src="https://gitee.com/zlt2000/images/raw/master/%E4%BB%BB%E5%8A%A1%E4%B8%AD%E5%BF%83.png"/></td> </tr> <tr> <td><img alt="日志中心02" src="https://gitee.com/zlt2000/images/raw/master/%E6%97%A5%E5%BF%97%E4%B8%AD%E5%BF%8302.png"/></td> <td><img alt="慢查询sql" src="https://gitee.com/zlt2000/images/raw/master/%E6%85%A2%E6%9F%A5%E8%AF%A2sql.png"/></td> </tr> <tr> <td><img alt="nacos-discovery" src="https://gitee.com/zlt2000/images/raw/master/nacos-discovery.png"/></td> <td><img alt="应用吞吐量监控" src="https://gitee.com/zlt2000/images/raw/master/%E5%BA%94%E7%94%A8%E5%90%9E%E5%90%90%E9%87%8F%E7%9B%91%E6%8E%A7.png"/></td> </tr> </table>8.友情链接
flowsphere
云原生微服务流量治理解决方案,项目地址:https://github.com/flowsphere-projects/flowsphere
项目亮点:
1.全网唯一使用JavaAgent实现Http、MQ、Job全链路灰度
2.全网唯一支持JavaAgent接入Sentinel
Contributors
Showing top 12 contributors by commit count.
