Skip to content

Commit

Permalink
fix:fix agent2023 lossless not work (#192)
Browse files Browse the repository at this point in the history
* add lossless function

* change application.yml

* Update application.properties

* change application.propertities

---------

Co-authored-by: fredrikliu <[email protected]>
  • Loading branch information
fredrikliu and fredrikliu authored Jun 4, 2024
1 parent e8e245f commit 7bcd419
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public ConfigurationParserInterceptor() {
beanInjectors.add(new RouterBeanInjector());
beanInjectors.add(new LoadbalancerBeanInjector());
beanInjectors.add(new ConfigBeanInjector());
beanInjectors.add(new LosslessBeanInjector());
}


Expand Down

0 comments on commit 7bcd419

Please sign in to comment.