Class ElasticsearchSinkBase.BulkFlushBackoffPolicy

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ElasticsearchSinkBase<T,​C extends AutoCloseable>

    public static class ElasticsearchSinkBase.BulkFlushBackoffPolicy
    extends Object
    implements Serializable
    Provides a backoff policy for bulk requests. Whenever a bulk request is rejected due to resource constraints (i.e. the client's internal thread pool is full), the backoff policy decides how long the bulk processor will wait before the operation is retried internally.

    This is a proxy for version specific backoff policies.

    See Also:
    Serialized Form
    • Constructor Detail

      • BulkFlushBackoffPolicy

        public BulkFlushBackoffPolicy()
    • Method Detail

      • getMaxRetryCount

        public int getMaxRetryCount()
      • getDelayMillis

        public long getDelayMillis()
      • setMaxRetryCount

        public void setMaxRetryCount​(int maxRetryCount)
      • setDelayMillis

        public void setDelayMillis​(long delayMillis)