Exception: Fluent::Plugin::ElasticsearchOutput::RetryStreamError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fluent/plugin/out_elasticsearch2.rb

Overview

RetryStreamError privides a stream to be put back in the pipeline for cases where a bulk request failed (e.g some records succeed while others failed)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(retry_stream) ⇒ RetryStreamError

Returns a new instance of RetryStreamError.



41
42
43
# File 'lib/fluent/plugin/out_elasticsearch2.rb', line 41

def initialize(retry_stream)
  @retry_stream = retry_stream
end

Instance Attribute Details

#retry_streamObject (readonly)

Returns the value of attribute retry_stream.



40
41
42
# File 'lib/fluent/plugin/out_elasticsearch2.rb', line 40

def retry_stream
  @retry_stream
end