今天做了什么:
- 雪崩问题
- Spring Cloud微服务集成 Sentinel
- 扩展 Sentinel 集成 OpenFeign,实现自动降级
雪崩问题
1、什么是雪崩问题?
More »Java, Spring Boot, Microservice, Cloud, Architecture and DevOps Tutorials
今天做了什么:
重构微服务项目中使用 spring-security-oauth2 搭建 OAuth2 认证服务和资源服务的代码,减少其他模块对此的耦合度。计划将 spring-security-oauth2 迁移到 spring-security-oauth2-authorization-server 上,即使用 OAuth2.1 授权和认证。Spring Authorization Server 相关文档,可以参考 https://blog.51cto.com/u_15268610/category2。
More »今天做了什么:
微服务项目中认证服务器配置授权码模式,并测试通过
扩展 RedisAuthorizationCodeServices ,支持设置过期时间。
扩展 BearerTokenExtractor,支持从 request 请求的 header 中读取 access_token
More »今天做了什么:
我使用的 Idea 插件。
springdoc-openapi v1.7.0 示例
Spring Security OAuth Boot 2 Autoconfig 转换成 maven 项目,并添加示例
More »Today I Learned. 今天分享内容:Spring Security 对 OAuth2 的支持
More »Today I Learned. 今天分享内容:Maven配置继承和生命周期、源码运行Nacos 2.3.0控制台
以下是一些常见的POM节点,在子项目中可以继承或覆盖父项目的配置:
More »Today I Learned. 今天分享内容:Spring Security OAuth2 配置JWT、Github Actions配置代码扫描,另外,修改了 spring-security-oauth2-legacy 仓库,支持授权认证中心的多种配置方式(jdbc、内存、redis、jwt)、资源中心的多种配置方式(jwt、jdbc、redis、remote、jwk-set-uri)。
More »Today I Learned. 今天分享内容:JNDI InitialContext源码分析、ClassLoader加载机制。
javax.naming
More »这是一篇双语翻译的文章,原文出自 grok_system_design_interview.pdf 的一篇文章《Designing Twitter》设计 Twitter。
Let’s design a Twitter-like social networking service. Users of the service will be able to post tweets, follow other people, and favorite tweets. Difficulty Level: Medium
More »