Integer bulkProcessorFlushMaxActions
Integer bulkProcessorFlushMaxSizeMb
Long bulkProcessorFlushIntervalMillis
ElasticsearchSinkBase.BulkFlushBackoffPolicy bulkProcessorFlushBackoffPolicy
Map<K,V> userConfig
For org.elasticsearch.client.transport.TransportClient based implementations, this config
map would also contain Elasticsearch-shipped configuration, and therefore this config map
would also be forwarded when creating the Elasticsearch client.
ElasticsearchSinkFunction<T> elasticsearchSinkFunction
ActionRequests from each incoming element.ActionRequestFailureHandler failureHandler
ActionRequests.boolean flushOnCheckpoint
ElasticsearchApiCallBridge<C extends AutoCloseable> callBridge
AtomicLong numPendingRequests
ElasticsearchSinkBase.flushOnCheckpoint is true.
This is incremented whenever the user adds (or re-adds through the ActionRequestFailureHandler) requests
to the RequestIndexer. It is decremented for each completed request of a bulk request, in
BulkProcessor.Listener#afterBulk(long, BulkRequest, BulkResponse) and
BulkProcessor.Listener#afterBulk(long, BulkRequest, Throwable).
AtomicReference<V> failureThrowable
BulkProcessor.Listener if a Throwable was thrown in callbacks and
the user considered it should fail the sink via the
ActionRequestFailureHandler.onFailure(ActionRequest, Throwable, int, RequestIndexer) method.
Errors will be checked and rethrown before processing each input element, and when the sink is closed.
ElasticsearchSinkBase.FlushBackoffType backoffType
int maxRetryCount
long delayMillis
String index
String docType
String keyDelimiter
String keyNullLiteral
org.apache.flink.api.common.serialization.SerializationSchema<T> serializationSchema
org.elasticsearch.common.xcontent.XContentType contentType
ElasticsearchUpsertTableSinkBase.RequestFactory requestFactory
int[] keyFieldIndices
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.