Spring Cloud Gateway Hystrix fallback获取异常信息的处理 Gateway Hystrix fallback获取异常信息 gateway fallback后,需要知道请求的是哪个接口以及具体的异常信息,根据不同的请求以及异常进行不同的处理。一开始根据网上一篇博客上的做法: pom.xml: d... Time: 2023-05-08 by admin
spring cloud feign不支持@RequestBody+ RequestMethod.GET报错的解决方法 1.问题梳理: 异常:org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported 很明显是最终fe... Time: 2023-05-17 by admin
Spring Cloud Gateway不同频率限流的解决方案(每分钟,每小时,每天) SpringCloud Gateway 简介 SpringCloud Gateway 是 Spring Cloud 的一个全新项目,该项目是基于 Spring 5.0,Spring Boot 2.0 和 Project Reactor 等... Time: 2023-05-26 by admin
springcloud与springboot版本对应 SpringCloud 与 SpringBoot各版本的对应关系 SpringCloud SpringBoot Finchley 2.0.x Finchley.SR1 Spring Boot =2.0.3.RELEASE a... Time: 2023-06-03 by admin
SpringCloud Gateway 利用 Mysql 实现动态路由的方法 需求描述 标准网关动态路由功能是重要的一环,将路由、断言以及过滤器信息,持久化到 Mysql 中,通过配置后台页面实现路由、断言、以及过滤器等配置的增删改查。 Spring Cloud Gateway 路由及黑白名单实现背景 Spring... Time: 2023-05-10 by admin
Spring Cloud Alibaba(4)---Nacos(注册中心) Nacos(注册中心) 有关Spring Cloud Alibaba之前写过三篇文章。 Spring Cloud Alibaba(1)---入门篇 Spring Cloud Alibaba(2)---RestTemplate微服务项目 S... Time: 2023-05-23 by admin
SpringCloud中的Consul详解 目录1. Consul 简介2. 专业名词3. Consul 的优势4. 特性5. Consul与Eureka的区别6. Consul 安装6.1 docker-compose安装7. Quick Start7.1 启动consul服务7... Time: 2023-05-26 by admin
Spring Cloud 网关服务 zuul动态路由的实现方法 zuul动态路由 网关服务是流量的唯一入口。不能随便停服务。所以动态路由就显得尤为必要。 数据库动态路由基于事件刷新机制热修改zuul的路由属性。 DiscoveryClientRouteLocator 可以看到DiscoveryC... Time: 2023-05-26 by admin
Spring Cloud实战 | 第十一篇:Spring Cloud Gateway统一鉴权下针对RESTful接口的RBAC权限设计方案,附Vue按钮权限控制 一. 前言 【有来】开源全栈项目版本更新,本文部分内容和项目源码有出入,建议移步至 【Spring Cloud Alibaba 实战 | 总结篇】Spring Cloud Gateway + Spring Security OAuth... Time: 2023-05-16 by admin
Spring Cloud 安全简介 一、概述 Spring Cloud Security 模块提供与 Spring Boot 应用程序中基于令牌的安全性相关的功能。 具体来说,它使基于 OAuth2 的 SSO 更容易——支持在资源服务器之间中继令牌,以及使用嵌入式 Zu... Time: 2023-05-21 by admin