* Bump com.github.tomakehurst:wiremock-jre8-standalone Bumps [com.github.tomakehurst:wiremock-jre8-standalone](https://github.com/wiremock/wiremock) from 2.27.2 to 2.35.1. - [Release notes](https://github.com/wiremock/wiremock/releases) - [Commits](https://github.com/wiremock/wiremock/compare/2.27.2...2.35.1) --- updated-dependencies: - dependency-name: com.github.tomakehurst:wiremock-jre8-standalone dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Migrate Structure * Insert explicit ids for headers * Remove unnecessary asciidoc attributes * Copy default antora files * Fix indentation for all pages * Split files * Generate a default navigation * Remove includes * Fix cross references * Enable Section Summary TOC for small pages * Updates maven to 3.9.0 * Antora migration --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 lines
801 B
Plaintext
16 lines
801 B
Plaintext
[[spring-cloud-consul-retry]]
|
|
= Consul Retry
|
|
|
|
If you expect that the consul agent may occasionally be unavailable when
|
|
your app starts, you can ask it to keep trying after a failure. You need to add
|
|
`spring-retry` and `spring-boot-starter-aop` to your classpath. The default
|
|
behaviour is to retry 6 times with an initial backoff interval of 1000ms and an
|
|
exponential multiplier of 1.1 for subsequent backoffs. You can configure these
|
|
properties (and others) using `spring.cloud.consul.retry.*` configuration properties.
|
|
This works with both Spring Cloud Consul Config and Discovery registration.
|
|
|
|
TIP: To take full control of the retry add a `@Bean` of type
|
|
`RetryOperationsInterceptor` with id "consulRetryInterceptor". Spring
|
|
Retry has a `RetryInterceptorBuilder` that makes it easy to create one.
|
|
|