微服务方案
1、服务注册和发现 Nacos √
2、统一配置中心 Nacos √
3、路由网关 gateway(三种加载方式) √
4、分布式 http feign √
5、熔断和降级 Sentinel √
6、分布式文件 Minio、阿里OSS √
7、统一权限控制 JWT + Shiro √
8、服务监控 SpringBootAdmin√
9、链路跟踪 Skywalking 参考文档
10、消息中间件 RabbitMQ √
11、分布式任务 xxl-job √
12、分布式事务 Seata
13、分布式日志 elk + kafka
14、docker-compose、k8s、jenkins
15、CAS 单点登录 √
16、路由限流 √
服务划分
mvn archetype:generate ^-DgroupId=org.jeecg.modules.business ^-Dmodule=business ^-DartifactId=jeecg-module-business ^-Dversion=3.1.0 ^-DarchetypeGroupId=org.jeecgframework.archetype ^-DarchetypeArtifactId=jeecg-cloud-gen ^-DarchetypeVersion=2.0
准备
修改服务器hosts文件 win配置hosts
微服务建议开启 RunDashboard界面
在.idea workspace 文件中加入
<component name="RunDashboard"><option name="configurationTypes"><set><option value="SpringBootApplicationConfigurationType" /></set></option><option name="ruleStates"><list><RuleState><option name="name" value="ConfigurationTypeDashboardGroupingRule" /></RuleState><RuleState><option name="name" value="StatusDashboardGroupingRule" /></RuleState></list></option></component>
