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

部分 V. Spring Cloud

目录

60. Spring Cloud
60.1. Spring Cloud 相关的 application.properties 配置
60.1.1. 启用或禁用 bootstrap
60.1.2. bootstrap.properties 配置文件
61. Spring Cloud Config
61.1. Maven 项目 pom.xml 文件
61.2. Server
61.2.1. Maven config 模块
61.2.2. Application
61.2.3. application.properties
61.2.4. Git 仓库
61.2.5. 测试服务器
61.3. Client
61.3.1. Maven pom.xml
61.3.2. Application
61.3.3. bootstrap.properties
61.3.4. 测试 client
61.4. Config 高级配置
61.4.1. 仓库配置
61.4.2. Config server 用户认证
61.4.3. 加密敏感数据
61.4.4. Spring Cloud Config JDBC Backend
61.5. Old
61.5.1. Server (Camden.SR5)
61.5.2. Client (Camden.SR5)
62. Spring Cloud Consol
62.1. Spring Cloud Consul 配置
62.2. Maven 父项目
62.3. Consul 服务生产者
62.3.1. Maven
62.3.2. application.properties
62.3.3. SpringApplication
62.3.4. TestController
62.4. Consul 服务消费者
62.4.1. Maven
62.4.2. application.properties
62.4.3. SpringApplication
62.4.4. TestController
62.5. Openfeign
62.5.1. Maven
62.5.2. application.properties
62.5.3. SpringApplication
62.5.4. Feign 接口
62.5.5. TestController
63. Spring Cloud Netflix
63.1. Eureka Server
63.1.1. Maven
63.1.2. Application
63.1.3. application.properties
63.1.4. 检查注册服务器
63.2. Eureka Client
63.2.1. Maven
63.2.2. Application
63.2.3. RestController
63.2.4. application.properties
63.2.5. 测试
63.3. Feign client
63.3.1. Maven
63.3.2. Application
63.3.3. interface
63.3.4. application.properties
63.3.5. 测试
63.3.6. fallback
63.4. 为 Eureka Server 增加用户认证
63.4.1. Maven
63.4.2. application.properties
63.4.3. Eureka Client
63.4.4. Feign Client
63.5. Eureka 配置项
63.5.1. /eureka/apps
63.5.2. Eureka instance 配置项
63.5.3. Eureka client 配置项
63.5.4. Eureka Server配置项
63.6. ribbon
63.6.1.
63.6.2. LoadBalancerClient 实例
63.6.3. Ribbon 相关配置
63.7. 获取 EurekaClient 信息
63.8. Zuul
63.8.1. Maven
63.8.2. EnableZuulProxy
63.8.3. application.yml
63.8.4. 负载均衡配置
64. Openfeign
64.1. Openfeign 扫描包配置
64.2. 用户认证
64.3. 应用实例
64.4. 配置连接方式
64.4.1. httpclient
64.4.2. okhttp
64.5. 配置手册
65. Spring Cloud Gateway
65.1. Gateway 例子
65.1.1. Maven
65.1.2. SpringApplication
65.1.3. application.yml
65.1.4. RouteLocator 方式
65.2. 路由配置
65.2.1. 转发操作
65.2.2. URL 参数
66. Spring Cloud Sleuth
66.1. logback 安装
67. Spring Cloud with Kubernetes
67.1. Config
67.1.1. Maven 依赖
67.1.2. Spring Cloud 配置文件
67.1.3. 程序文件
67.1.4. Kubernetes 编排脚本
67.1.5. 测试
67.2. 注册发现
67.2.1. Maven 父项目
67.2.2. provider
67.2.3. consumer
67.2.4. 测试
67.2.5.
68. Spring Cloud Alibaba
68.1. 安装 Nacos
68.1.1. Docker 安装 Nacos
68.1.2. Kubernetes 安装 Nacos
68.1.3. IP限制,白名单
68.1.4. 防火墙配置
68.2. Kubernetes 部署微服务
68.2.1. pom.xml 中加入 docker 插件
68.2.2. 容器启动脚本
68.2.3. 构建 docker 镜像
68.2.4. 编排 kubernetes 容器
68.2.5. 启动指定 nacos
68.3. Nacos 配置中心/注册中心代码实例
68.3.1. Maven
68.3.2. SpringBootApplication
68.3.3. ConfigController
68.3.4. 配置文件
68.4. FAQ
68.4.1. 禁用 Nacos
68.4.2. 禁止注册
68.4.3. Failed to bind properties under 'server.tomcat.basedir' to java.io.File:
68.4.4. 不读取 bootstrap.yaml 文件
68.4.5. WARN [com.alibaba.nacos.client.naming:177] [,] - out of date data received, old-t: 1665711914993, new-t: 1665711902390
68.4.6. User limit of inotify instances reached or too many open files
68.4.7. 开启权限
68.4.8. ERROR Whitelabel
68.4.9.
69. FAQ
69.1. Cannot execute request on any known server
69.2. @EnableDiscoveryClient与@EnableEurekaClient 区别
69.3. Feign请求超时
69.4. 已停止的微服务节点注销慢或不注销
69.5. Feign 启动出错 PathVariable annotation was empty on param 0.
69.6. Feign 提示 Consider defining a bean of type 'common.feign.Cms' in your configuration.
69.7. Load balancer does not have available server for client
69.8. Eureka Client (Dalston.SR1)
69.8.1. Maven
69.8.2. Application
69.8.3. RestController
69.8.4. application.properties
69.8.5. 测试
69.9. Config Server(1.3.1.RELEASE)
69.9.1. Server
69.9.2. Client
69.10. feign.RetryableException: Read timed out executing

1. Spring Cloud Stream