Commit 07f314fd by Nepxion

修改介绍

parent 0ae175fa
...@@ -125,7 +125,7 @@ public class DiscoveryConfigAdapter extends ConfigAdapter { ...@@ -125,7 +125,7 @@ public class DiscoveryConfigAdapter extends ConfigAdapter {
return inputStream; return inputStream;
} }
// 订阅远程配置中心的规则更新 // 订阅远程配置中心的规则更新(推送策略自己决定,可以所有服务都只对应一个规则信息,也可以根据服务名获取对应的规则信息)
@PostConstruct @PostConstruct
public void publish() { public void publish() {
InputStream inputStream = ...; InputStream inputStream = ...;
......
...@@ -43,7 +43,7 @@ public class DiscoveryConfigAdapter extends ConfigAdapter { ...@@ -43,7 +43,7 @@ public class DiscoveryConfigAdapter extends ConfigAdapter {
return null; return null;
} }
// 订阅远程配置中心的规则更新 // 订阅远程配置中心的规则更新(推送策略自己决定,可以所有服务都只对应一个规则信息,也可以根据服务名获取对应的规则信息)
/*@PostConstruct /*@PostConstruct
public void publish() { public void publish() {
ThreadLocalRandom threadLocalRandom = ThreadLocalRandom.current(); ThreadLocalRandom threadLocalRandom = ThreadLocalRandom.current();
......
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