diff --git a/sermant-plugins/sermant-springboot-registry/springboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java b/sermant-plugins/sermant-springboot-registry/springboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java index f9a7c6940b..bb1d403576 100644 --- a/sermant-plugins/sermant-springboot-registry/springboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java +++ b/sermant-plugins/sermant-springboot-registry/springboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java @@ -77,21 +77,11 @@ public class NacosRegisterConfig implements PluginConfig { */ private String privateKey; - /** - * Typically used to specify the full URL of the Nacos server, including the protocol (such as http or https) - */ - private String endpoint = ""; - /** * Namespace */ private String namespace; - /** - * The name of the nacos log file - */ - private String logName; - /** * The weight of the service instance */ @@ -186,14 +176,6 @@ public void setPassword(String password) { this.password = password; } - public String getEndpoint() { - return endpoint; - } - - public void setEndpoint(String endpoint) { - this.endpoint = endpoint; - } - public String getNamespace() { return namespace; } @@ -202,14 +184,6 @@ public void setNamespace(String namespace) { this.namespace = namespace; } - public String getLogName() { - return logName; - } - - public void setLogName(String logName) { - this.logName = logName; - } - public float getWeight() { return weight; } @@ -330,8 +304,6 @@ public Properties getNacosProperties() { } properties.put(PropertyKeyConst.SERVER_ADDR, lbConfig.getRegistryAddress()); properties.put(PropertyKeyConst.NAMESPACE, Objects.toString(namespace, "")); - properties.put(PropertyKeyConst.NACOS_NAMING_LOG_NAME, Objects.toString(logName, "")); - properties.put(PropertyKeyConst.ENDPOINT, Objects.toString(endpoint, "")); properties.put(PropertyKeyConst.ACCESS_KEY, Objects.toString(accessKey, "")); properties.put(PropertyKeyConst.SECRET_KEY, Objects.toString(secretKey, "")); properties.put(PropertyKeyConst.CLUSTER_NAME, clusterName);