随笔 - 240  文章 - 0  评论 - 8  阅读 - 13万

随笔分类 -  springcloud

springboot springcloud 配置中心
摘要:1.服务器端 2.客户端 1.服务器端 1.依赖+配置+启动注解 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-config-server</artifactId> </depen 阅读全文
posted @ 2022-01-16 18:50 biind 阅读(427) 评论(0) 推荐(0) 编辑
springboot springcloud zuul 过滤器
摘要:1.继承类:ZuulFilter 2.丢失请求头:Authorization 3.转发请求头:Authorization 4.使用场景:验证权限 1.继承类:ZuulFilter package com.ligy.school.zuul.filter; import com.netflix.zuul 阅读全文
posted @ 2022-01-16 08:40 biind 阅读(213) 评论(0) 推荐(0) 编辑
springboot springcloud zuul 网关入门
摘要:1.配置 2.使用 1.配置 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-zuul</artifactId></dependency> main函 阅读全文
posted @ 2022-01-13 23:01 biind 阅读(126) 评论(0) 推荐(0) 编辑
springboot springcloud eureka 熔断器
摘要:1.接口+实现类+注解: @FeignClient(value = "eurekademo2", fallback = Demo2ServiceImpl.class) 2.打开熔断器: 修改配置文件:application.propertiesfeign.hystrix.enabled=true p 阅读全文
posted @ 2022-01-09 22:34 biind 阅读(173) 评论(0) 推荐(0) 编辑
springboot springcloud eureka 入门
摘要:1.eureka服务器端 2.eureka客户端 3.客户端间的通信 1.eureka服务器端 1.引入依赖 2.eureka配置 3.启动,加注解 4.浏览器打开: localhost:6868/ <?xml version="1.0" encoding="UTF-8"?> <project xm 阅读全文
posted @ 2022-01-09 16:53 biind 阅读(124) 评论(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

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