@PublicEvolving public abstract class AsyncSinkBase<InputT,RequestEntryT extends Serializable> extends Object implements org.apache.flink.api.connector.sink2.StatefulSink<InputT,BufferedRequestState<RequestEntryT>>
The design of the sink focuses on extensibility and a broad support of destinations. The core of the sink is kept generic and free of any connector specific dependencies. The sink is designed to participate in checkpointing to provide at-least once semantics, but it is limited to destinations that provide a client that supports async requests.
Limitations:
| 限定符 | 构造器和说明 |
|---|---|
protected |
AsyncSinkBase(ElementConverter<InputT,RequestEntryT> elementConverter,
int maxBatchSize,
int maxInFlightRequests,
int maxBufferedRequests,
long maxBatchSizeInBytes,
long maxTimeInBufferMS,
long maxRecordSizeInBytes) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ElementConverter<InputT,RequestEntryT> |
getElementConverter() |
protected int |
getMaxBatchSize() |
protected long |
getMaxBatchSizeInBytes() |
protected int |
getMaxBufferedRequests() |
protected int |
getMaxInFlightRequests() |
protected long |
getMaxRecordSizeInBytes() |
protected long |
getMaxTimeInBufferMS() |
protected AsyncSinkBase(ElementConverter<InputT,RequestEntryT> elementConverter, int maxBatchSize, int maxInFlightRequests, int maxBufferedRequests, long maxBatchSizeInBytes, long maxTimeInBufferMS, long maxRecordSizeInBytes)
protected ElementConverter<InputT,RequestEntryT> getElementConverter()
protected int getMaxBatchSize()
protected int getMaxInFlightRequests()
protected int getMaxBufferedRequests()
protected long getMaxBatchSizeInBytes()
protected long getMaxTimeInBufferMS()
protected long getMaxRecordSizeInBytes()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.