Class OpenSearchRetryRegistryConfig
java.lang.Object
com.atlassian.confluence.plugins.opensearch.spring.OpenSearchRetryRegistryConfig
Adding resiliency to OpenSearch operations using Resilience4j. Different operations can use different retry
 config (or the same one). Retries config need to be added in this class. See
 
SimpleBulkOperationBuffer.flush() for usage.
 By default:
- Three attempts
 - Retries on IOException and 5xx Server Error
 - Exponential backoff
 
- Since:
 - 9.0.0
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionio.github.resilience4j.retry.RetryRegistryConfigures the default retry config and all named retries used by OpenSearch. 
- 
Constructor Details
- 
OpenSearchRetryRegistryConfig
public OpenSearchRetryRegistryConfig() 
 - 
 - 
Method Details
- 
retryRegistry
@Bean public io.github.resilience4j.retry.RetryRegistry retryRegistry()Configures the default retry config and all named retries used by OpenSearch. Configure your retries here.- Returns:
 - the 
RetryRegistryso that Spring can inject it 
 
 -