Package org.apache.flink.connector.base.sink.writer
package org.apache.flink.connector.base.sink.writer
-
ClassDescriptionCommon retry exception classifiers needed for common errors.AsyncSinkWriter<InputT,
RequestEntryT extends Serializable> A generic sink writer that handles the general behaviour of a sink such as batching and flushing, and allows extenders to implement the logic for persisting individual request elements, with allowance for retries.AsyncSinkWriterStateSerializer<RequestEntryT extends Serializable>Serializer class forAsyncSinkWriterstate.BufferedRequestState<RequestEntryT extends Serializable>Class holding state ofAsyncSinkWriterneeded at taking a snapshot.ElementConverter<InputT,RequestEntryT> This interface specifies the mapping between elements of a stream to request entries that can be sent to the destination.RequestEntryWrapper<RequestEntryT>A wrapper that contains aRequestEntryTready to be written by the Sink Writer class, along with the size of that entry as defined by the methodgetSizeInBytes(RequestEntryT)of theAsyncSinkWriter.Interface to handle the result of aAsyncSinkWriterrequest.