|
52 | 52 | "name": "spring.cloud.loadbalancer.retry.enabled", |
53 | 53 | "description": "Enables LoadBalancer retries.", |
54 | 54 | "type": "java.lang.Boolean" |
| 55 | + }, |
| 56 | + { |
| 57 | + "name": "spring.cloud.loadbalancer.health-check.initial-delay", |
| 58 | + "defaultValue": 0, |
| 59 | + "description": "Initial delay value for the HealthCheck scheduler.", |
| 60 | + "type": "java.time.Duration" |
| 61 | + }, |
| 62 | + { |
| 63 | + "name": "spring.cloud.loadbalancer.health-check.interval ", |
| 64 | + "defaultValue": "25s", |
| 65 | + "description": "Interval for rerunning the HealthCheck scheduler.", |
| 66 | + "type": "java.time.Duration" |
| 67 | + }, |
| 68 | + { |
| 69 | + "name": "spring.cloud.loadbalancer.health-check.path", |
| 70 | + "description": "Path at which the health-check request should be made. Can be set up per `serviceId`. A `default` value can be set up as well. If none is set up, `/actuator/health` will be used.", |
| 71 | + "type": "java.util.Map" |
| 72 | + }, |
| 73 | + { |
| 74 | + "name": "spring.cloud.loadbalancer.health-check.port", |
| 75 | + "description": "Path at which the health-check request should be made. If none is set, the port under which the requested service is available at the service instance.", |
| 76 | + "type": "java.lang.Integer" |
| 77 | + }, |
| 78 | + { |
| 79 | + "name": "spring.cloud.loadbalancer.health-check.refetch-instances", |
| 80 | + "defaultValue": false, |
| 81 | + "description": "Indicates whether the instances should be refetched by the `HealthCheckServiceInstanceListSupplier`. This can be used if the instances can be updated and the underlying delegate does not provide an ongoing flux.", |
| 82 | + "type": "java.lang.Boolean" |
| 83 | + }, |
| 84 | + { |
| 85 | + "name": "spring.cloud.loadbalancer.health-check.refetch-instances-interval", |
| 86 | + "defaultValue": "25s", |
| 87 | + "description": "Interval for refetching available service instances.", |
| 88 | + "type": "java.time.Duration" |
| 89 | + }, |
| 90 | + { |
| 91 | + "name": "spring.cloud.loadbalancer.health-check.repeat-health-check", |
| 92 | + "defaultValue": true, |
| 93 | + "description": "Indicates whether health checks should keep repeating. It might be useful to set it to `false` if periodically refetching the instances, as every refetch will also trigger a healthcheck.", |
| 94 | + "type": "java.lang.Boolean" |
| 95 | + }, |
| 96 | + { |
| 97 | + "name": "spring.cloud.loadbalancer.retry.backoff.enabled", |
| 98 | + "defaultValue": false, |
| 99 | + "description": "Indicates whether Reactor Retry backoffs should be applied.", |
| 100 | + "type": "java.lang.Boolean" |
| 101 | + }, |
| 102 | + { |
| 103 | + "name": "spring.cloud.loadbalancer.retry.backoff.jitter", |
| 104 | + "defaultValue": 0.5, |
| 105 | + "description": "Used to set `RetryBackoffSpec.jitter`.", |
| 106 | + "type": "java.lang.Double" |
| 107 | + }, |
| 108 | + { |
| 109 | + "name": "spring.cloud.loadbalancer.retry.backoff.max-backoff", |
| 110 | + "defaultValue": "Long.MAX ms", |
| 111 | + "description": "Used to set `RetryBackoffSpec.maxBackoff`.", |
| 112 | + "type": "java.time.Duration" |
| 113 | + }, |
| 114 | + { |
| 115 | + "name": "spring.cloud.loadbalancer.retry.backoff.min-backoff", |
| 116 | + "defaultValue": "5 ms", |
| 117 | + "description": "Used to set `RetryBackoffSpec#minBackoff`.", |
| 118 | + "type": "java.time.Duration" |
| 119 | + }, |
| 120 | + { |
| 121 | + "name": "spring.cloud.loadbalancer.retry.max-retries-on-next-service-instance", |
| 122 | + "defaultValue": 1, |
| 123 | + "description": "Number of retries to be executed on the next `ServiceInstance`. A `ServiceInstance` is chosen before each retry call.", |
| 124 | + "type": "java.lang.Integer" |
| 125 | + }, |
| 126 | + { |
| 127 | + "name": "spring.cloud.loadbalancer.retry.max-retries-on-same-service-instance", |
| 128 | + "defaultValue": 0, |
| 129 | + "description": "umber of retries to be executed on the same `ServiceInstance`.", |
| 130 | + "type": "java.lang.Integer" |
| 131 | + }, |
| 132 | + { |
| 133 | + "name": "spring.cloud.loadbalancer.retry.retry-on-all-operations", |
| 134 | + "defaultValue": false, |
| 135 | + "description": "Indicates retries should be attempted on operations other than `HttpMethod.GET`}.", |
| 136 | + "type": "java.lang.Boolean" |
| 137 | + }, |
| 138 | + { |
| 139 | + "name": "spring.cloud.loadbalancer.retry.retryable-status-codes", |
| 140 | + "defaultValue": "{}", |
| 141 | + "description": "A `Set` of status codes that should trigger a retry.", |
| 142 | + "type": "java.util.Set" |
| 143 | + }, |
| 144 | + { |
| 145 | + "name": "spring.cloud.loadbalancer.sticky-session.add-service-instance-cookie", |
| 146 | + "defaultValue": false, |
| 147 | + "description": "Indicates whether a cookie with the newly selected instance should be added by LoadBalancer.", |
| 148 | + "type": "java.lang.Boolean" |
| 149 | + }, |
| 150 | + { |
| 151 | + "name": "spring.cloud.loadbalancer.sticky-session.instance-id-cookie-name", |
| 152 | + "defaultValue": "sc-lb-instance-id", |
| 153 | + "description": "The name of the cookie holding the preferred instance id.", |
| 154 | + "type": "java.lang.String" |
| 155 | + }, |
| 156 | + { |
| 157 | + "name": "spring.cloud.loadbalancer.x-forwarded.enabled", |
| 158 | + "defaultValue": false, |
| 159 | + "description": "To Enable X-Forwarded Headers.", |
| 160 | + "type": "java.lang.Boolean" |
55 | 161 | } |
56 | 162 | ] |
57 | 163 | } |
0 commit comments