Commit e72521aa by Nepxion

服务端使用Hystrix做线程模式的服务隔离时,实现服务灰度路由的功能

parent 1df28dcc
......@@ -75,7 +75,7 @@ public class MyDiscoveryEnabledStrategy implements DiscoveryEnabledStrategy {
String serviceId = server.getMetaInfo().getAppName().toLowerCase();
String version = metadata.get(DiscoveryConstant.VERSION);
LOG.info("Serivice端负载均衡用户定制触发:serviceId={}, host={}, metadata={}", serviceId, server.toString(), metadata);
LOG.info("Serivice端负载均衡用户定制触发:serviceId={}, host={}, metadata={}, attributes={}", serviceId, server.toString(), metadata, attributes);
String filterServiceId = "discovery-springcloud-example-b";
String filterVersion = "1.0";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment