Class SolrIO.RetryConfiguration

java.lang.Object
org.apache.beam.sdk.io.solr.SolrIO.RetryConfiguration
All Implemented Interfaces:
Serializable
Enclosing class:
SolrIO

public abstract static class SolrIO.RetryConfiguration extends Object implements Serializable
A POJO encapsulating a configuration for retry behavior when issuing requests to Solr. A retry will be attempted until the maxAttempts or maxDuration is exceeded, whichever comes first, for any of the following exceptions:
  • IOException
  • SolrServerException
  • SolrException where the SolrException.ErrorCode is one of:
    • SolrException.ErrorCode.CONFLICT
    • SolrException.ErrorCode.SERVER_ERROR
    • SolrException.ErrorCode.SERVICE_UNAVAILABLE
    • SolrException.ErrorCode.INVALID_STATE
    • SolrException.ErrorCode.UNKNOWN
See Also:
  • Constructor Details

    • RetryConfiguration

      public RetryConfiguration()
  • Method Details