Skip to content

Commit

Permalink
fix : downgrade version to verify if eureka client is working
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Nov 13, 2023
1 parent 6d73926 commit f4b3c49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion catalog-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.0-RC2</version>
<version>3.2.0-RC1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example.catalogservice</groupId>
Expand Down
12 changes: 8 additions & 4 deletions catalog-service/src/main/resources/application-local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ resilience4j.ratelimiter.instances.default.limitRefreshPeriod=10s
resilience4j.ratelimiter.instances.default.timeoutDuration=3s
resilience4j.ratelimiter.instances.default.registerHealthIndicator=true
#resilience4j.retry.retryAspectOrder=2
resilience4j.retry.instances.product-api.enableExponentialBackoff=true
resilience4j.retry.instances.product-api.exponentialBackoffMultiplier=2
resilience4j.retry.instances.product-api.maxAttempts=3
resilience4j.retry.instances.product-api.waitDuration=1s
resilience4j.retry.configs.default.maxAttempts=3
resilience4j.retry.configs.default.waitDuration=100
resilience4j.retry.configs.default.retryExceptions[0]=org.springframework.web.client.HttpServerErrorException
resilience4j.retry.configs.default.retryExceptions[1]=java.util.concurrent.TimeoutException
resilience4j.retry.configs.default.retryExceptions[2]=java.io.IOException
resilience4j.retry.configs.default.ignoreExceptions[0]=com.example.catalogservice.exception.ProductNotFoundException
resilience4j.retry.instances.default.baseConfig=default
resilience4j.retry.instances.getInventoryByProductCodes.baseConfig=default
#resilience4j.circuitbreaker.circuitBreakerAspectOrder=1
resilience4j.circuitbreaker.instances.default.registerHealthIndicator=true
resilience4j.circuitbreaker.instances.default.slidingWindowSize=5
Expand Down

0 comments on commit f4b3c49

Please sign in to comment.