Builds a bulk processor, with listener configured with nice behavior on fail: dump to fail and save failed requests to a sequence to be retried later.
Builds a bulk processor, with listener configured with nice behavior on fail: dump to fail and save failed requests to a sequence to be retried later.
TransportClient with which to send requests to the elasticsearch server
path to dump files to
The contructed bulk processor
Serialize a request and save to file.
Serialize a request and save to file.
failed bulk request
path to dump folder
Get list of bulk requests that failed.
Utility method for generating random file name.
Utility method for generating random file name.
random file name
Method for retrying failed request.
Method for retrying failed request.
path to dumped request
configuration of elasticsearch index for which request should be executed
Factory for elasticsearch BulkProcessor.