Skip to content

Commit

Permalink
add example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikliu committed May 17, 2024
1 parent 0dfb98a commit 7a18a85
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# the application name for spring cloud, register as the service name in registry center
spring.application.name=service-consumer-H
spring.application.name=service-consumer-hoxton
# polaris server address
spring.cloud.polaris.address=grpc\://111.230.207.241\:8091
spring.cloud.polaris.address=grpc\://127.0.0.1\:8091
# switch for spring cloud polaris all features
spring.cloud.polaris.enabled=true
# switch for spring cloud discovery feature
Expand All @@ -22,6 +22,9 @@ spring.cloud.polaris.router.rule-router.enabled=true
spring.cloud.polaris.router.metadata-router.enabled=true
# switch for polaris router(nearby-router) feature
spring.cloud.polaris.router.nearby-router.enabled=true
# switch for circuitbreaker
spring.cloud.polaris.circuitbreaker.enabled=true
feign.hystrix.enabled=true
# switch for polaris ratelimit feature
spring.cloud.polaris.ratelimit.enabled=false
# rejectHttpCode for polaris ratelimit, will be returned as limited
Expand All @@ -39,4 +42,4 @@ spring.cloud.polaris.stat.port=0
# path for polaris stat
spring.cloud.polaris.stat.path=/metrics

logging.level.root=DEBUG
logging.level.root=INFO

0 comments on commit 7a18a85

Please sign in to comment.