Contains sources and sinks for Elasticsearch 7
-
Set the supplier function for BulkRequest, defaults to new BulkRequest()
ElasticSinkBuilder.clientFn(SupplierEx<org.elasticsearch.client.RestClientBuilder> clientFn)
Set the client supplier function
ElasticSinkBuilder.mapToRequestFn(FunctionEx<? super T_NEW,? extends org.elasticsearch.action.DocWriteRequest<?>> mapToRequestFn)
Set the function mapping the item from a pipeline item to an index
request
ElasticSinkBuilder.optionsFn(FunctionEx<? super org.elasticsearch.action.ActionRequest,org.elasticsearch.client.RequestOptions> optionsFn)
Set the function that provides RequestOptions
ElasticSinkBuilder.retries(int retries)
Number of retries the connector will do in addition to Elastic client
retries