diff --git a/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/conf/plugin/spring-cloud-2023/application.properties b/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/conf/plugin/spring-cloud-2023/application.properties index 21b9c358..023d5faf 100644 --- a/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/conf/plugin/spring-cloud-2023/application.properties +++ b/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/conf/plugin/spring-cloud-2023/application.properties @@ -34,11 +34,18 @@ spring.cloud.polaris.ratelimit.maxQueuingTime=1000 spring.cloud.tencent.rpc-enhancement.enabled=true # switch for rpc-enhancement reporter feature spring.cloud.tencent.rpc-enhancement.reporter.enabled=true +# switch for lossless feature +spring.cloud.polaris.lossless.enabled=false +# switch for lossless port feature +spring.cloud.polaris.lossless.port=28080 +# switch for lossless delayRegisterInterval feature +spring.cloud.polaris.lossless.delayRegisterInterval=30000 # switch for polaris stat feature spring.cloud.polaris.stat.enabled=false # port for polaris stat spring.cloud.polaris.stat.port=0 # path for polaris stat spring.cloud.polaris.stat.path=/metrics +# log level feature +logging.level.root=INFO -logging.level.root=INFO \ No newline at end of file diff --git a/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java b/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java index afa31b0a..5213a6ed 100644 --- a/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java +++ b/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2023-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java @@ -69,6 +69,7 @@ public ConfigurationParserInterceptor() { beanInjectors.add(new RouterBeanInjector()); beanInjectors.add(new LoadbalancerBeanInjector()); beanInjectors.add(new ConfigBeanInjector()); + beanInjectors.add(new LosslessBeanInjector()); }