hello
摘要: yml: 配置灰度规则,这里使用eureka元数据,做处理,需要网关转发的服务,配置元数据信息,这里使用version代表不同版本 spring: profiles: 8081 eureka: instance: metadata-map: version: v1 server: port: 808 阅读全文
posted @ 2021-10-05 00:49 八股文研究生 阅读(53) 评论(0) 推荐(0)
摘要: 1、网关通过url到服务 1 @Override 2 public Object run() throws ZuulException { 3 RequestContext currentContext = RequestContext.getCurrentContext(); 4 HttpServ 阅读全文
posted @ 2021-10-05 00:42 八股文研究生 阅读(368) 评论(0) 推荐(0)
my name is zhangsan