背景 有时候,在微服务时代,我们需要对全部的机器节点进行通知。在常规情况下,一个请求经过负载均衡只有一个机器可以收到。那么,如何能让全部的机器都收到同样的请求呢?需要借助消息队列的监听机制,让每个节点都监听一个队列,让消息发送到所有的队列中。 rabbit MQ的fanout交换机可以实现这种功能。 Read More
posted @ 2022-09-29 14:46 imissinstagram Views(535) Comments(0) Diggs(0) Edit
旧依赖的移除 长久以来,使用Spring Security整合oauth2,都是使用Spring Security Oauth2这个系列的包: <dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId Read More
posted @ 2022-09-29 13:49 imissinstagram Views(7686) Comments(1) Diggs(0) Edit