12 2021 档案

Sentinel配置
摘要:Sentinel配置 github地址:https://github.com/alibaba/Sentinel 中文文档:Sentinel: 分布式系统的流量防卫兵 官方文档:https://sentinelguard.io/zh-cn/ 分布式系统的流量防卫兵:随着微服务的流行,服务和服务之间的稳 阅读全文

posted @ 2021-12-12 18:35 Chase_Hanky 阅读(520) 评论(0) 推荐(0) 编辑

Nacos配置(集群和持久化配置)
摘要:Nacos配置(集群和持久化配置) Nacos的部署模式 https://nacos.io/zh-cn/docs/deployment.html Nacos支持三种部署模式: 单机模式,用于测试和单机试用,我们之前使用的就是单机模式启动。 集群模式,用于生产环境,确保高可用。 多集群模式,用于多数据 阅读全文

posted @ 2021-12-09 22:08 Chase_Hanky 阅读(1467) 评论(0) 推荐(0) 编辑

Nacos配置(配置中心)
摘要:Nacos配置(配置中心) Nacos服务配置中心之基础配置 新建模块 新建:cloudalibaba-config-nacos-client3377,引入依赖: <!--nacos-config--> <dependency> <groupId>com.alibaba.cloud</groupId 阅读全文

posted @ 2021-12-09 22:07 Chase_Hanky 阅读(2251) 评论(0) 推荐(0) 编辑

Nacos配置(服务注册与发现)
摘要:Nacos配置(服务注册与发现) Nacos简介 Nacos = (Dynamic) Naming and Configuration Service 注册中心+配置中心,也就是代替Eureka作为服务注册中心,替代Config作为配置中心,替代Bus作为消息总线。 官方网站: http://nac 阅读全文

posted @ 2021-12-09 22:05 Chase_Hanky 阅读(559) 评论(0) 推荐(0) 编辑

Spring Cloud Stream消息驱动
摘要:Spring Cloud Stream消息驱动 https://docs.spring.io/spring-cloud-stream/docs/3.0.10.RELEASE/reference/html/spring-cloud-stream.html https://spring.io/proje 阅读全文

posted @ 2021-12-07 23:27 Chase_Hanky 阅读(86) 评论(0) 推荐(0) 编辑

Spring Cloud Sleuth链路追踪
摘要:Spring Cloud Sleuth链路追踪 https://spring.io/projects/spring-cloud-sleuth 分布式服务追踪与调用链系统产生的背景 在微服务框架中,一个由客户端发起的请求在后端系统中会经过多个不同的服务节点调用来协同产生最后的请求结果,每一个前端请求都 阅读全文

posted @ 2021-12-07 23:20 Chase_Hanky 阅读(58) 评论(0) 推荐(0) 编辑

SpringCloud Bus消息总线
摘要:SpringCloud Bus消息总线 Spring Cloud Bus简介 https://spring.io/projects/spring-cloud-bus 概述 SpringCloud Bus是将分布式系统的节点与轻量级消息系统链接起来的框架,它整合了Java的事件处理机制和消息中间件的功 阅读全文

posted @ 2021-12-06 23:44 Chase_Hanky 阅读(81) 评论(0) 推荐(0) 编辑

Spring Cloud Config配置中心
摘要:Spring Cloud Config配置中心 https://spring.io/projects/spring-cloud-config SpringCloud Config为微服务架构中的微服务提供集中化的外部配置支持,配置服务器为各个不同微服务应用的所有环境提供了一个中心化的的外部配置 Sp 阅读全文

posted @ 2021-12-06 23:41 Chase_Hanky 阅读(80) 评论(1) 推荐(1) 编辑

Zuul网关
摘要:Zuul网关 添加pom依赖 <!-- Eureka --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka</artifactId> </depend 阅读全文

posted @ 2021-12-02 23:30 Chase_Hanky 阅读(31) 评论(0) 推荐(0) 编辑

GateWay网关
摘要:GateWay网关 添加pom依赖 <!--gateway 注意不能添加WEB依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artif 阅读全文

posted @ 2021-12-02 23:30 Chase_Hanky 阅读(31) 评论(0) 推荐(0) 编辑

List遍历删除元素的坑
摘要:List删除元素的坑 我们在循环删除元素时常使用索引下标删除,所以我们普遍使用for循环。 有时候删除对象会使用到增强for更加方便。 但是,这两种删除元素的方式有很多坑。 1、for循环遍历list //通过索引获取元素进行判断后删除 for(int i=0;i<list.size();i++){ 阅读全文

posted @ 2021-12-02 10:18 Chase_Hanky 阅读(250) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示