摘要:
1. ribbon入门 负载均衡 + restTemplate调用 启动这五个工程来实现 @Configuration public class ApplicationConfig { @Bean @LoadBalanced public RestTemplate getRestTemplate() 阅读全文
摘要:
1.代码 pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
摘要:
1.安装consul .\consul --version consul安装成功 http://localhost:8500 2.代码: pom: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.o 阅读全文
摘要:
1建工程cloud-consumer-zookeeper-order80 2pom与cloud-privider-payment工程一致 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/PO 阅读全文
摘要:
1.zookeeper准备: 关闭防火墙:systemctl stop firewalld zookeeper安装地址: ping通本机: 2.建工程cloud-provider-payment8004 pom: <?xml version="1.0" encoding="UTF-8"?> <pro 阅读全文
摘要:
https://pan.baidu.com/s/1W5pIZiShOludzJMOYA87kA?_at_=1621906471198 yzcr 阅读全文