Class KinesisDynamicSink
- java.lang.Object
-
- org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry>
-
- org.apache.flink.connector.kinesis.table.KinesisDynamicSink
-
- All Implemented Interfaces:
org.apache.flink.table.connector.sink.abilities.SupportsPartitioning,org.apache.flink.table.connector.sink.DynamicTableSink
@Internal public class KinesisDynamicSink extends org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry> implements org.apache.flink.table.connector.sink.abilities.SupportsPartitioningKinesis backedAsyncDynamicTableSink.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKinesisDynamicSink.KinesisDynamicTableSinkBuilderBuilder class forKinesisDynamicSink.-
Nested classes/interfaces inherited from interface org.apache.flink.table.connector.sink.DynamicTableSink
org.apache.flink.table.connector.sink.DynamicTableSink.Context, org.apache.flink.table.connector.sink.DynamicTableSink.DataStructureConverter, org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider
-
-
Constructor Summary
Constructors Constructor Description KinesisDynamicSink(Integer maxBatchSize, Integer maxInFlightRequests, Integer maxBufferedRequests, Long maxBufferSizeInBytes, Long maxTimeInBufferMS, Boolean failOnError, org.apache.flink.table.types.DataType consumedDataType, String stream, Properties kinesisClientProperties, org.apache.flink.table.connector.format.EncodingFormat<org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>> encodingFormat, PartitionKeyGenerator<org.apache.flink.table.data.RowData> partitioner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyStaticPartition(Map<String,String> partition)StringasSummaryString()org.apache.flink.table.connector.sink.DynamicTableSinkcopy()booleanequals(Object o)org.apache.flink.table.connector.ChangelogModegetChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode)org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvidergetSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)inthashCode()-
Methods inherited from class org.apache.flink.connector.base.table.sink.AsyncDynamicTableSink
addAsyncOptionsToSinkBuilder
-
-
-
-
Constructor Detail
-
KinesisDynamicSink
public KinesisDynamicSink(@Nullable Integer maxBatchSize, @Nullable Integer maxInFlightRequests, @Nullable Integer maxBufferedRequests, @Nullable Long maxBufferSizeInBytes, @Nullable Long maxTimeInBufferMS, @Nullable Boolean failOnError, @Nullable org.apache.flink.table.types.DataType consumedDataType, String stream, @Nullable Properties kinesisClientProperties, org.apache.flink.table.connector.format.EncodingFormat<org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>> encodingFormat, PartitionKeyGenerator<org.apache.flink.table.data.RowData> partitioner)
-
-
Method Detail
-
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode(org.apache.flink.table.connector.ChangelogMode requestedMode)
- Specified by:
getChangelogModein interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
getSinkRuntimeProvider
public org.apache.flink.table.connector.sink.DynamicTableSink.SinkRuntimeProvider getSinkRuntimeProvider(org.apache.flink.table.connector.sink.DynamicTableSink.Context context)
- Specified by:
getSinkRuntimeProviderin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
copy
public org.apache.flink.table.connector.sink.DynamicTableSink copy()
- Specified by:
copyin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
asSummaryString
public String asSummaryString()
- Specified by:
asSummaryStringin interfaceorg.apache.flink.table.connector.sink.DynamicTableSink
-
applyStaticPartition
public void applyStaticPartition(Map<String,String> partition)
- Specified by:
applyStaticPartitionin interfaceorg.apache.flink.table.connector.sink.abilities.SupportsPartitioning
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classorg.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.apache.flink.connector.base.table.sink.AsyncDynamicTableSink<software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry>
-
-