随笔分类 -  spring cloud

摘要:Ubuntu 18.04.1 LTS Consul v1.10.2 JAVA 8 Spring Boot 2.5.3(Spring Cloud 2020.0.3) Chrome浏览器 1、Consul官网: https://www.consul.io/ 2、Github地址: https://git 阅读全文
posted @ 2021-09-28 06:51 快乐的凡人721 阅读(191) 评论(0) 推荐(0) 编辑
摘要:JAVA 8 spring boot 2.5.2 spring cloud 2020.0.3 授人以渔: 1、Spring Cloud PDF版本 最新版本,下载下来,以便查阅。 更多版本的官方文档: https://docs.spring.io/spring-cloud/docs/ 2、Sprin 阅读全文
posted @ 2021-09-14 08:54 快乐的凡人721 阅读(375) 评论(0) 推荐(0) 编辑
摘要:JAVA 8 spring boot 2.5.2 spring cloud 2020.0.3 授人以渔: 1、Spring Cloud PDF版本 最新版本,下载下来,以便查阅。 更多版本的官方文档: https://docs.spring.io/spring-cloud/docs/ 2、Sprin 阅读全文
posted @ 2021-09-13 12:18 快乐的凡人721 阅读(926) 评论(0) 推荐(0) 编辑
摘要:目录 K.0000 入参为Date类型 K.0000 入参为Date类型 入参为Date类型时,默认情况下发生了错误: 2021-09-01 14:43:19.855 WARN 22940 [io-30005-exec-4] .w.s.m.s.DefaultHandlerExceptionResol 阅读全文
posted @ 2021-09-02 14:52 快乐的凡人721 阅读(733) 评论(0) 推荐(0) 编辑
摘要:Java 8 spring boot 2.5.2 spring cloud 2020.0.3 本文介绍 高可用配置中心 的搭建。 目录 基本架构 失败快速响应和重试 配置安全 加密解密 参考文档 思路 将 配置中心服务、依赖配置中心服务获取配置的应用服务 注册到 服务注册中心,之后,应用服务 通过配 阅读全文
posted @ 2021-08-18 15:35 快乐的凡人721 阅读(309) 评论(0) 推荐(0) 编辑
摘要:Java 8 spring boot 2.5.2 spring cloud 2020.0.3 在前一篇文章中,已经介绍了 Web服务从配置服务器 获取 Git服务上的配置,不过,都是从 master分支上获取。 本文介绍更多 配置中心的使用场景。 目录 场景一:从master分支下获取服务各个pro 阅读全文
posted @ 2021-08-17 17:43 快乐的凡人721 阅读(142) 评论(0) 推荐(0) 编辑
摘要:JDK 8 spring boot 2.5.2 spring cloud 2020.0.3 目录 高可用配置(一) 高可用配置(二) 参考文档 在生产环境下,如果只有一个 注册中心服务,存在很大的安全风险——宕机会导致整个S.C.系统挂掉(虽然 Client的 服务信息缓存 能撑一段时间——具体多久 阅读全文
posted @ 2021-08-16 19:41 快乐的凡人721 阅读(140) 评论(0) 推荐(0) 编辑
摘要:Java 8 spring boot 2.5.2 spring cloud 2020.0.3 spring.io guide:Centralized Configuration https://spring.io/guides/gs/centralized-configuration/ 本文基于上面 阅读全文
posted @ 2021-07-28 15:32 快乐的凡人721 阅读(470) 评论(0) 推荐(0) 编辑
摘要:Java 8 spring boot 2.5.2 spring cloud 2020.0.3 目录 EurekaServer项目(standalone) EurekaClient项目 使用Eureka注册中心注册的服务 方法1:使用 RestTemplate 方式2:使用OpenFeign 断路器的 阅读全文
posted @ 2021-07-22 19:11 快乐的凡人721 阅读(4619) 评论(0) 推荐(0) 编辑