Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

部分 V. Spring Cloud

目录

57. Spring Cloud
57.1. Spring Cloud 相关的 application.properties 配置
57.1.1. 启用或禁用 bootstrap
57.1.2. bootstrap.properties 配置文件
58. Spring Cloud Config
58.1. Maven 项目 pom.xml 文件
58.2. Server
58.2.1. Maven config 模块
58.2.2. Application
58.2.3. application.properties
58.2.4. Git 仓库
58.2.5. 测试服务器
58.3. Client
58.3.1. Maven pom.xml
58.3.2. Application
58.3.3. bootstrap.properties
58.3.4. 测试 client
58.4. Config 高级配置
58.4.1. 仓库配置
58.4.2. Config server 用户认证
58.4.3. 加密敏感数据
58.4.4. Spring Cloud Config JDBC Backend
58.5. Old
58.5.1. Server (Camden.SR5)
58.5.2. Client (Camden.SR5)
59. Spring Cloud Consol
59.1. Spring Cloud Consul 配置
59.2. Maven 父项目
59.3. Consul 服务生产者
59.3.1. Maven
59.3.2. application.properties
59.3.3. SpringApplication
59.3.4. TestController
59.4. Consul 服务消费者
59.4.1. Maven
59.4.2. application.properties
59.4.3. SpringApplication
59.4.4. TestController
59.5. Openfeign
59.5.1. Maven
59.5.2. application.properties
59.5.3. SpringApplication
59.5.4. Feign 接口
59.5.5. TestController
60. Spring Cloud Netflix
60.1. Eureka Server
60.1.1. Maven
60.1.2. Application
60.1.3. application.properties
60.1.4. 检查注册服务器
60.2. Eureka Client
60.2.1. Maven
60.2.2. Application
60.2.3. RestController
60.2.4. application.properties
60.2.5. 测试
60.3. Feign client
60.3.1. Maven
60.3.2. Application
60.3.3. interface
60.3.4. application.properties
60.3.5. 测试
60.3.6. fallback
60.4. 为 Eureka Server 增加用户认证
60.4.1. Maven
60.4.2. application.properties
60.4.3. Eureka Client
60.4.4. Feign Client
60.5. Eureka 配置项
60.5.1. /eureka/apps
60.5.2. Eureka instance 配置项
60.5.3. Eureka client 配置项
60.5.4. Eureka Server配置项
60.6. ribbon
60.6.1.
60.6.2. LoadBalancerClient 实例
60.6.3. Ribbon 相关配置
60.7. 获取 EurekaClient 信息
60.8. Zuul
60.8.1. Maven
60.8.2. EnableZuulProxy
60.8.3. application.yml
60.8.4. 负载均衡配置
61. Openfeign
61.1. Openfeign 扫描包配置
61.2. 用户认证
61.3. 应用实例
61.4. 配置连接方式
61.4.1. httpclient
61.4.2. okhttp
61.5. 配置手册
62. Spring Cloud Gateway
62.1. Gateway 例子
62.1.1. Maven
62.1.2. SpringApplication
62.1.3. application.yml
62.1.4. RouteLocator 方式
62.2. 路由配置
62.2.1. 转发操作
62.2.2. URL 参数
63. Spring Cloud Sleuth
63.1. logback 安装
64. Spring Cloud with Kubernetes
64.1. Config
64.1.1. Maven 依赖
64.1.2. Spring Cloud 配置文件
64.1.3. 程序文件
64.1.4. Kubernetes 编排脚本
64.1.5. 测试
64.2. 注册发现
64.2.1. Maven 父项目
64.2.2. provider
64.2.3. consumer
64.2.4. 测试
64.2.5.
65. Spring Cloud Alibaba
65.1. 安装 Nacos
65.1.1. Docker 安装 Nacos
65.1.2. Kubernetes 安装 Nacos
65.1.3. IP限制,白名单
65.1.4. 防火墙配置
65.2. Kubernetes 部署微服务
65.2.1. pom.xml 中加入 docker 插件
65.2.2. 容器启动脚本
65.2.3. 构建 docker 镜像
65.2.4. 编排 kubernetes 容器
65.2.5. 启动指定 nacos
65.3. Nacos 配置中心/注册中心代码实例
65.3.1. Maven
65.3.2. SpringBootApplication
65.3.3. ConfigController
65.3.4. 配置文件
65.4. FAQ
65.4.1. 禁用 Nacos
65.4.2. 禁止注册
65.4.3. Failed to bind properties under 'server.tomcat.basedir' to java.io.File:
65.4.4. 不读取 bootstrap.yaml 文件
65.4.5. WARN [com.alibaba.nacos.client.naming:177] [,] - out of date data received, old-t: 1665711914993, new-t: 1665711902390
65.4.6. User limit of inotify instances reached or too many open files
65.4.7. 开启权限
65.4.8. ERROR Whitelabel
65.4.9.
66. FAQ
66.1. Cannot execute request on any known server
66.2. @EnableDiscoveryClient与@EnableEurekaClient 区别
66.3. Feign请求超时
66.4. 已停止的微服务节点注销慢或不注销
66.5. Feign 启动出错 PathVariable annotation was empty on param 0.
66.6. Feign 提示 Consider defining a bean of type 'common.feign.Cms' in your configuration.
66.7. Load balancer does not have available server for client
66.8. Eureka Client (Dalston.SR1)
66.8.1. Maven
66.8.2. Application
66.8.3. RestController
66.8.4. application.properties
66.8.5. 测试
66.9. Config Server(1.3.1.RELEASE)
66.9.1. Server
66.9.2. Client
66.10. feign.RetryableException: Read timed out executing

1. Spring Cloud Stream