Skip to content

基于Springboot2.1.x以及SpringCloud Greenwich.SR6的微服务开发脚手架。脚手架中集成了nacos,oauth2,多数据源配置,gateway网关,sentinel,Prometheus适配nacos模块。分布式一致性使用的是seata。分布式链路使用的skywalking。微服务监控使用的是springboot-admin,Prometheus,Alertmanager,Grafana。关于各种链路监控一致性等会将相关使用和部署文档写在README中。

Jamsw/cloud-center

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

快速开始

基础环境

使用本脚手架要求有springboot和springcloud相关基础,部署一下基础环境

环境搭建

具体步骤如下:

  1. 克隆代码库: git clone https://github.com/Jamsw/cloud-center.git

  2. 根据你的开发工具进行下载各种依赖包

安装以下相关工具

服务 服务名 端口 备注
数据库 mysql 3306 启动几个实例都行,脚手架支持多数据源
注册与配置中心 nacos 8848 安装与使用文档
分布式链路 skywalking 8399 安装与使用文档
数据存储中间件 elasticsearch 9200 安装与使用文档
日志分析工具 kibana 5601 安装与使用文档
日志收集中间件 logstash 4560 安装与使用文档
分布式配置中心 Apollo 8070 安装与使用文档
高可用防护组件 sentinel 8718 安装与使用文档
  • 2.新增数据库及表结构 目录路径都在:子项目/db

  • 3.脚手架模块介绍

模块名称 简介 应用地址 文档
auth oauth权限控制 http://localhost:8071 文档
client 测试客户端 http://localhost:8071
common 通用模块 http://localhost:8071
dynamicDataSource 多数据源 配置 http://localhost:8071 文档
gateway 网关 http://localhost:8071 文档
monitor 微服务监控 http://localhost:8071 文档
nacos-adapter prometheus适配nacos服务中心 http://localhost:8071 文档

About

基于Springboot2.1.x以及SpringCloud Greenwich.SR6的微服务开发脚手架。脚手架中集成了nacos,oauth2,多数据源配置,gateway网关,sentinel,Prometheus适配nacos模块。分布式一致性使用的是seata。分布式链路使用的skywalking。微服务监控使用的是springboot-admin,Prometheus,Alertmanager,Grafana。关于各种链路监控一致性等会将相关使用和部署文档写在README中。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages