@Internal public class KinesisStreamsSinkElementConverter<InputT> extends Object implements org.apache.flink.connector.base.sink.writer.ElementConverter<InputT,software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry>
ElementConverter that uses the AWS Kinesis SDK v2. The user only
needs to provide a SerializationSchema of the InputT and a PartitionKeyGenerator lambda to transform the input element into a String.| Modifier and Type | Class and Description |
|---|---|
static class |
KinesisStreamsSinkElementConverter.Builder<InputT>
A builder for the KinesisStreamsSinkElementConverter.
|
| Modifier and Type | Method and Description |
|---|---|
software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry |
apply(InputT element,
org.apache.flink.api.connector.sink2.SinkWriter.Context context) |
static <InputT> KinesisStreamsSinkElementConverter.Builder<InputT> |
builder() |
public software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry apply(InputT element, org.apache.flink.api.connector.sink2.SinkWriter.Context context)
apply in interface org.apache.flink.connector.base.sink.writer.ElementConverter<InputT,software.amazon.awssdk.services.kinesis.model.PutRecordsRequestEntry>public static <InputT> KinesisStreamsSinkElementConverter.Builder<InputT> builder()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.