LOG.info("Retrieved {} config from Apollo server is same as current config, ignore to update, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Retrieved {} config from {} server is same as current config, ignore to update, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
}
}else{
LOG.info("Get {} config cleared event from Apollo server, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Get {} config cleared event from {} server, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
fireRuleCleared(newRuleClearedEvent(),true);
}
}
});
}catch(Exceptione){
LOG.error("Subscribe "+getConfigType(globalConfig)+" config from Apollo server failed, "+groupKey+"="+group+", serviceId="+serviceId,e);
LOG.error("Subscribe {} config from {} server failed, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId,e);
}
returnnull;
...
...
@@ -130,12 +131,17 @@ public class ApolloConfigAdapter extends ConfigAdapter {
Stringgroup=pluginAdapter.getGroup();
StringserviceId=pluginAdapter.getServiceId();
LOG.info("Unsubscribe {} config from Apollo server, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Unsubscribe {} config from {} server, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
LOG.info("Retrieved {} config from Nacos server is same as current config, ignore to update, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Retrieved {} config from {} server is same as current config, ignore to update, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
}
}else{
LOG.info("Get {} config cleared event from Nacos server, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Get {} config cleared event from {} server, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
fireRuleCleared(newRuleClearedEvent(),true);
}
}
});
}catch(Exceptione){
LOG.error("Subscribe "+getConfigType(globalConfig)+" config from Nacos server failed, "+groupKey+"="+group+", serviceId="+serviceId,e);
LOG.error("Subscribe {} config from {} server failed, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId,e);
}
returnnull;
...
...
@@ -140,12 +141,17 @@ public class NacosConfigAdapter extends ConfigAdapter {
Stringgroup=pluginAdapter.getGroup();
StringserviceId=pluginAdapter.getServiceId();
LOG.info("Unsubscribe {} config from Nacos server, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Unsubscribe {} config from {} server, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
LOG.info("Retrieved {} config from Redis server is same as current config, ignore to update, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Retrieved {} config from {} server is same as current config, ignore to update, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
}
}else{
LOG.info("Get {} config cleared event from Redis server, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Get {} config cleared event from {} server, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);
fireRuleCleared(newRuleClearedEvent(),true);
}
}
});
}catch(Exceptione){
LOG.error("Subscribe "+getConfigType(globalConfig)+" config from Redis server failed, "+groupKey+"="+group+", serviceId="+serviceId,e);
LOG.error("Subscribe {} config from {} server failed, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId,e);
}
}
...
...
@@ -130,12 +131,17 @@ public class RedisConfigAdapter extends ConfigAdapter {
Stringgroup=pluginAdapter.getGroup();
StringserviceId=pluginAdapter.getServiceId();
LOG.info("Unsubscribe {} config from Redis server, {}={}, serviceId={}",getConfigType(globalConfig),groupKey,group,serviceId);
LOG.info("Unsubscribe {} config from {} server, {}={}, serviceId={}",getConfigScope(globalConfig),getConfigType(),groupKey,group,serviceId);